package com.ecs.to_tos_service.domain;

import java.util.ArrayList;
import java.util.Date;
import java.util.Iterator;
import java.util.List;

public class GtsOuttruckHaulContainersExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public GtsOuttruckHaulContainersExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        protected void addCriterionForJDBCDate(String condition, Date value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value.getTime()), property);
        }

        protected void addCriterionForJDBCDate(String condition, List<Date> values, String property) {
            if (values == null || values.size() == 0) {
                throw new RuntimeException("Value list for " + property + " cannot be null or empty");
            }
            List<java.sql.Date> dateList = new ArrayList<java.sql.Date>();
            Iterator<Date> iter = values.iterator();
            while (iter.hasNext()) {
                dateList.add(new java.sql.Date(iter.next().getTime()));
            }
            addCriterion(condition, dateList, property);
        }

        protected void addCriterionForJDBCDate(String condition, Date value1, Date value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            addCriterion(condition, new java.sql.Date(value1.getTime()), new java.sql.Date(value2.getTime()), property);
        }

        public Criteria andOhcIdIsNull() {
            addCriterion("OHC_ID is null");
            return (Criteria) this;
        }

        public Criteria andOhcIdIsNotNull() {
            addCriterion("OHC_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOhcIdEqualTo(Long value) {
            addCriterion("OHC_ID =", value, "ohcId");
            return (Criteria) this;
        }

        public Criteria andOhcIdNotEqualTo(Long value) {
            addCriterion("OHC_ID <>", value, "ohcId");
            return (Criteria) this;
        }

        public Criteria andOhcIdGreaterThan(Long value) {
            addCriterion("OHC_ID >", value, "ohcId");
            return (Criteria) this;
        }

        public Criteria andOhcIdGreaterThanOrEqualTo(Long value) {
            addCriterion("OHC_ID >=", value, "ohcId");
            return (Criteria) this;
        }

        public Criteria andOhcIdLessThan(Long value) {
            addCriterion("OHC_ID <", value, "ohcId");
            return (Criteria) this;
        }

        public Criteria andOhcIdLessThanOrEqualTo(Long value) {
            addCriterion("OHC_ID <=", value, "ohcId");
            return (Criteria) this;
        }

        public Criteria andOhcIdIn(List<Long> values) {
            addCriterion("OHC_ID in", values, "ohcId");
            return (Criteria) this;
        }

        public Criteria andOhcIdNotIn(List<Long> values) {
            addCriterion("OHC_ID not in", values, "ohcId");
            return (Criteria) this;
        }

        public Criteria andOhcIdBetween(Long value1, Long value2) {
            addCriterion("OHC_ID between", value1, value2, "ohcId");
            return (Criteria) this;
        }

        public Criteria andOhcIdNotBetween(Long value1, Long value2) {
            addCriterion("OHC_ID not between", value1, value2, "ohcId");
            return (Criteria) this;
        }

        public Criteria andOhcOtrIdIsNull() {
            addCriterion("OHC_OTR_ID is null");
            return (Criteria) this;
        }

        public Criteria andOhcOtrIdIsNotNull() {
            addCriterion("OHC_OTR_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOhcOtrIdEqualTo(Long value) {
            addCriterion("OHC_OTR_ID =", value, "ohcOtrId");
            return (Criteria) this;
        }

        public Criteria andOhcOtrIdNotEqualTo(Long value) {
            addCriterion("OHC_OTR_ID <>", value, "ohcOtrId");
            return (Criteria) this;
        }

        public Criteria andOhcOtrIdGreaterThan(Long value) {
            addCriterion("OHC_OTR_ID >", value, "ohcOtrId");
            return (Criteria) this;
        }

        public Criteria andOhcOtrIdGreaterThanOrEqualTo(Long value) {
            addCriterion("OHC_OTR_ID >=", value, "ohcOtrId");
            return (Criteria) this;
        }

        public Criteria andOhcOtrIdLessThan(Long value) {
            addCriterion("OHC_OTR_ID <", value, "ohcOtrId");
            return (Criteria) this;
        }

        public Criteria andOhcOtrIdLessThanOrEqualTo(Long value) {
            addCriterion("OHC_OTR_ID <=", value, "ohcOtrId");
            return (Criteria) this;
        }

        public Criteria andOhcOtrIdIn(List<Long> values) {
            addCriterion("OHC_OTR_ID in", values, "ohcOtrId");
            return (Criteria) this;
        }

        public Criteria andOhcOtrIdNotIn(List<Long> values) {
            addCriterion("OHC_OTR_ID not in", values, "ohcOtrId");
            return (Criteria) this;
        }

        public Criteria andOhcOtrIdBetween(Long value1, Long value2) {
            addCriterion("OHC_OTR_ID between", value1, value2, "ohcOtrId");
            return (Criteria) this;
        }

        public Criteria andOhcOtrIdNotBetween(Long value1, Long value2) {
            addCriterion("OHC_OTR_ID not between", value1, value2, "ohcOtrId");
            return (Criteria) this;
        }

        public Criteria andOhcFbfgIsNull() {
            addCriterion("OHC_FBFG is null");
            return (Criteria) this;
        }

        public Criteria andOhcFbfgIsNotNull() {
            addCriterion("OHC_FBFG is not null");
            return (Criteria) this;
        }

        public Criteria andOhcFbfgEqualTo(String value) {
            addCriterion("OHC_FBFG =", value, "ohcFbfg");
            return (Criteria) this;
        }

        public Criteria andOhcFbfgNotEqualTo(String value) {
            addCriterion("OHC_FBFG <>", value, "ohcFbfg");
            return (Criteria) this;
        }

        public Criteria andOhcFbfgGreaterThan(String value) {
            addCriterion("OHC_FBFG >", value, "ohcFbfg");
            return (Criteria) this;
        }

        public Criteria andOhcFbfgGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_FBFG >=", value, "ohcFbfg");
            return (Criteria) this;
        }

        public Criteria andOhcFbfgLessThan(String value) {
            addCriterion("OHC_FBFG <", value, "ohcFbfg");
            return (Criteria) this;
        }

        public Criteria andOhcFbfgLessThanOrEqualTo(String value) {
            addCriterion("OHC_FBFG <=", value, "ohcFbfg");
            return (Criteria) this;
        }

        public Criteria andOhcFbfgLike(String value) {
            addCriterion("OHC_FBFG like", value, "ohcFbfg");
            return (Criteria) this;
        }

        public Criteria andOhcFbfgNotLike(String value) {
            addCriterion("OHC_FBFG not like", value, "ohcFbfg");
            return (Criteria) this;
        }

        public Criteria andOhcFbfgIn(List<String> values) {
            addCriterion("OHC_FBFG in", values, "ohcFbfg");
            return (Criteria) this;
        }

        public Criteria andOhcFbfgNotIn(List<String> values) {
            addCriterion("OHC_FBFG not in", values, "ohcFbfg");
            return (Criteria) this;
        }

        public Criteria andOhcFbfgBetween(String value1, String value2) {
            addCriterion("OHC_FBFG between", value1, value2, "ohcFbfg");
            return (Criteria) this;
        }

        public Criteria andOhcFbfgNotBetween(String value1, String value2) {
            addCriterion("OHC_FBFG not between", value1, value2, "ohcFbfg");
            return (Criteria) this;
        }

        public Criteria andOhcIycCntridIsNull() {
            addCriterion("OHC_IYC_CNTRID is null");
            return (Criteria) this;
        }

        public Criteria andOhcIycCntridIsNotNull() {
            addCriterion("OHC_IYC_CNTRID is not null");
            return (Criteria) this;
        }

        public Criteria andOhcIycCntridEqualTo(Long value) {
            addCriterion("OHC_IYC_CNTRID =", value, "ohcIycCntrid");
            return (Criteria) this;
        }

        public Criteria andOhcIycCntridNotEqualTo(Long value) {
            addCriterion("OHC_IYC_CNTRID <>", value, "ohcIycCntrid");
            return (Criteria) this;
        }

        public Criteria andOhcIycCntridGreaterThan(Long value) {
            addCriterion("OHC_IYC_CNTRID >", value, "ohcIycCntrid");
            return (Criteria) this;
        }

        public Criteria andOhcIycCntridGreaterThanOrEqualTo(Long value) {
            addCriterion("OHC_IYC_CNTRID >=", value, "ohcIycCntrid");
            return (Criteria) this;
        }

        public Criteria andOhcIycCntridLessThan(Long value) {
            addCriterion("OHC_IYC_CNTRID <", value, "ohcIycCntrid");
            return (Criteria) this;
        }

        public Criteria andOhcIycCntridLessThanOrEqualTo(Long value) {
            addCriterion("OHC_IYC_CNTRID <=", value, "ohcIycCntrid");
            return (Criteria) this;
        }

        public Criteria andOhcIycCntridIn(List<Long> values) {
            addCriterion("OHC_IYC_CNTRID in", values, "ohcIycCntrid");
            return (Criteria) this;
        }

        public Criteria andOhcIycCntridNotIn(List<Long> values) {
            addCriterion("OHC_IYC_CNTRID not in", values, "ohcIycCntrid");
            return (Criteria) this;
        }

        public Criteria andOhcIycCntridBetween(Long value1, Long value2) {
            addCriterion("OHC_IYC_CNTRID between", value1, value2, "ohcIycCntrid");
            return (Criteria) this;
        }

        public Criteria andOhcIycCntridNotBetween(Long value1, Long value2) {
            addCriterion("OHC_IYC_CNTRID not between", value1, value2, "ohcIycCntrid");
            return (Criteria) this;
        }

        public Criteria andOhcCntrnoIsNull() {
            addCriterion("OHC_CNTRNO is null");
            return (Criteria) this;
        }

        public Criteria andOhcCntrnoIsNotNull() {
            addCriterion("OHC_CNTRNO is not null");
            return (Criteria) this;
        }

        public Criteria andOhcCntrnoEqualTo(String value) {
            addCriterion("OHC_CNTRNO =", value, "ohcCntrno");
            return (Criteria) this;
        }

        public Criteria andOhcCntrnoNotEqualTo(String value) {
            addCriterion("OHC_CNTRNO <>", value, "ohcCntrno");
            return (Criteria) this;
        }

        public Criteria andOhcCntrnoGreaterThan(String value) {
            addCriterion("OHC_CNTRNO >", value, "ohcCntrno");
            return (Criteria) this;
        }

        public Criteria andOhcCntrnoGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_CNTRNO >=", value, "ohcCntrno");
            return (Criteria) this;
        }

        public Criteria andOhcCntrnoLessThan(String value) {
            addCriterion("OHC_CNTRNO <", value, "ohcCntrno");
            return (Criteria) this;
        }

        public Criteria andOhcCntrnoLessThanOrEqualTo(String value) {
            addCriterion("OHC_CNTRNO <=", value, "ohcCntrno");
            return (Criteria) this;
        }

        public Criteria andOhcCntrnoLike(String value) {
            addCriterion("OHC_CNTRNO like", value, "ohcCntrno");
            return (Criteria) this;
        }

        public Criteria andOhcCntrnoNotLike(String value) {
            addCriterion("OHC_CNTRNO not like", value, "ohcCntrno");
            return (Criteria) this;
        }

        public Criteria andOhcCntrnoIn(List<String> values) {
            addCriterion("OHC_CNTRNO in", values, "ohcCntrno");
            return (Criteria) this;
        }

        public Criteria andOhcCntrnoNotIn(List<String> values) {
            addCriterion("OHC_CNTRNO not in", values, "ohcCntrno");
            return (Criteria) this;
        }

        public Criteria andOhcCntrnoBetween(String value1, String value2) {
            addCriterion("OHC_CNTRNO between", value1, value2, "ohcCntrno");
            return (Criteria) this;
        }

        public Criteria andOhcCntrnoNotBetween(String value1, String value2) {
            addCriterion("OHC_CNTRNO not between", value1, value2, "ohcCntrno");
            return (Criteria) this;
        }

        public Criteria andOhcIsocdIsNull() {
            addCriterion("OHC_ISOCD is null");
            return (Criteria) this;
        }

        public Criteria andOhcIsocdIsNotNull() {
            addCriterion("OHC_ISOCD is not null");
            return (Criteria) this;
        }

        public Criteria andOhcIsocdEqualTo(String value) {
            addCriterion("OHC_ISOCD =", value, "ohcIsocd");
            return (Criteria) this;
        }

        public Criteria andOhcIsocdNotEqualTo(String value) {
            addCriterion("OHC_ISOCD <>", value, "ohcIsocd");
            return (Criteria) this;
        }

        public Criteria andOhcIsocdGreaterThan(String value) {
            addCriterion("OHC_ISOCD >", value, "ohcIsocd");
            return (Criteria) this;
        }

        public Criteria andOhcIsocdGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_ISOCD >=", value, "ohcIsocd");
            return (Criteria) this;
        }

        public Criteria andOhcIsocdLessThan(String value) {
            addCriterion("OHC_ISOCD <", value, "ohcIsocd");
            return (Criteria) this;
        }

        public Criteria andOhcIsocdLessThanOrEqualTo(String value) {
            addCriterion("OHC_ISOCD <=", value, "ohcIsocd");
            return (Criteria) this;
        }

        public Criteria andOhcIsocdLike(String value) {
            addCriterion("OHC_ISOCD like", value, "ohcIsocd");
            return (Criteria) this;
        }

        public Criteria andOhcIsocdNotLike(String value) {
            addCriterion("OHC_ISOCD not like", value, "ohcIsocd");
            return (Criteria) this;
        }

        public Criteria andOhcIsocdIn(List<String> values) {
            addCriterion("OHC_ISOCD in", values, "ohcIsocd");
            return (Criteria) this;
        }

        public Criteria andOhcIsocdNotIn(List<String> values) {
            addCriterion("OHC_ISOCD not in", values, "ohcIsocd");
            return (Criteria) this;
        }

        public Criteria andOhcIsocdBetween(String value1, String value2) {
            addCriterion("OHC_ISOCD between", value1, value2, "ohcIsocd");
            return (Criteria) this;
        }

        public Criteria andOhcIsocdNotBetween(String value1, String value2) {
            addCriterion("OHC_ISOCD not between", value1, value2, "ohcIsocd");
            return (Criteria) this;
        }

        public Criteria andOhcVoyIdIsNull() {
            addCriterion("OHC_VOY_ID is null");
            return (Criteria) this;
        }

        public Criteria andOhcVoyIdIsNotNull() {
            addCriterion("OHC_VOY_ID is not null");
            return (Criteria) this;
        }

        public Criteria andOhcVoyIdEqualTo(Long value) {
            addCriterion("OHC_VOY_ID =", value, "ohcVoyId");
            return (Criteria) this;
        }

        public Criteria andOhcVoyIdNotEqualTo(Long value) {
            addCriterion("OHC_VOY_ID <>", value, "ohcVoyId");
            return (Criteria) this;
        }

        public Criteria andOhcVoyIdGreaterThan(Long value) {
            addCriterion("OHC_VOY_ID >", value, "ohcVoyId");
            return (Criteria) this;
        }

        public Criteria andOhcVoyIdGreaterThanOrEqualTo(Long value) {
            addCriterion("OHC_VOY_ID >=", value, "ohcVoyId");
            return (Criteria) this;
        }

        public Criteria andOhcVoyIdLessThan(Long value) {
            addCriterion("OHC_VOY_ID <", value, "ohcVoyId");
            return (Criteria) this;
        }

        public Criteria andOhcVoyIdLessThanOrEqualTo(Long value) {
            addCriterion("OHC_VOY_ID <=", value, "ohcVoyId");
            return (Criteria) this;
        }

        public Criteria andOhcVoyIdIn(List<Long> values) {
            addCriterion("OHC_VOY_ID in", values, "ohcVoyId");
            return (Criteria) this;
        }

        public Criteria andOhcVoyIdNotIn(List<Long> values) {
            addCriterion("OHC_VOY_ID not in", values, "ohcVoyId");
            return (Criteria) this;
        }

        public Criteria andOhcVoyIdBetween(Long value1, Long value2) {
            addCriterion("OHC_VOY_ID between", value1, value2, "ohcVoyId");
            return (Criteria) this;
        }

        public Criteria andOhcVoyIdNotBetween(Long value1, Long value2) {
            addCriterion("OHC_VOY_ID not between", value1, value2, "ohcVoyId");
            return (Criteria) this;
        }

        public Criteria andOhcIdentifyfgIsNull() {
            addCriterion("OHC_IDENTIFYFG is null");
            return (Criteria) this;
        }

        public Criteria andOhcIdentifyfgIsNotNull() {
            addCriterion("OHC_IDENTIFYFG is not null");
            return (Criteria) this;
        }

        public Criteria andOhcIdentifyfgEqualTo(String value) {
            addCriterion("OHC_IDENTIFYFG =", value, "ohcIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOhcIdentifyfgNotEqualTo(String value) {
            addCriterion("OHC_IDENTIFYFG <>", value, "ohcIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOhcIdentifyfgGreaterThan(String value) {
            addCriterion("OHC_IDENTIFYFG >", value, "ohcIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOhcIdentifyfgGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_IDENTIFYFG >=", value, "ohcIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOhcIdentifyfgLessThan(String value) {
            addCriterion("OHC_IDENTIFYFG <", value, "ohcIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOhcIdentifyfgLessThanOrEqualTo(String value) {
            addCriterion("OHC_IDENTIFYFG <=", value, "ohcIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOhcIdentifyfgLike(String value) {
            addCriterion("OHC_IDENTIFYFG like", value, "ohcIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOhcIdentifyfgNotLike(String value) {
            addCriterion("OHC_IDENTIFYFG not like", value, "ohcIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOhcIdentifyfgIn(List<String> values) {
            addCriterion("OHC_IDENTIFYFG in", values, "ohcIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOhcIdentifyfgNotIn(List<String> values) {
            addCriterion("OHC_IDENTIFYFG not in", values, "ohcIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOhcIdentifyfgBetween(String value1, String value2) {
            addCriterion("OHC_IDENTIFYFG between", value1, value2, "ohcIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOhcIdentifyfgNotBetween(String value1, String value2) {
            addCriterion("OHC_IDENTIFYFG not between", value1, value2, "ohcIdentifyfg");
            return (Criteria) this;
        }

        public Criteria andOhcDamagetypeIsNull() {
            addCriterion("OHC_DAMAGETYPE is null");
            return (Criteria) this;
        }

        public Criteria andOhcDamagetypeIsNotNull() {
            addCriterion("OHC_DAMAGETYPE is not null");
            return (Criteria) this;
        }

        public Criteria andOhcDamagetypeEqualTo(String value) {
            addCriterion("OHC_DAMAGETYPE =", value, "ohcDamagetype");
            return (Criteria) this;
        }

        public Criteria andOhcDamagetypeNotEqualTo(String value) {
            addCriterion("OHC_DAMAGETYPE <>", value, "ohcDamagetype");
            return (Criteria) this;
        }

        public Criteria andOhcDamagetypeGreaterThan(String value) {
            addCriterion("OHC_DAMAGETYPE >", value, "ohcDamagetype");
            return (Criteria) this;
        }

        public Criteria andOhcDamagetypeGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_DAMAGETYPE >=", value, "ohcDamagetype");
            return (Criteria) this;
        }

        public Criteria andOhcDamagetypeLessThan(String value) {
            addCriterion("OHC_DAMAGETYPE <", value, "ohcDamagetype");
            return (Criteria) this;
        }

        public Criteria andOhcDamagetypeLessThanOrEqualTo(String value) {
            addCriterion("OHC_DAMAGETYPE <=", value, "ohcDamagetype");
            return (Criteria) this;
        }

        public Criteria andOhcDamagetypeLike(String value) {
            addCriterion("OHC_DAMAGETYPE like", value, "ohcDamagetype");
            return (Criteria) this;
        }

        public Criteria andOhcDamagetypeNotLike(String value) {
            addCriterion("OHC_DAMAGETYPE not like", value, "ohcDamagetype");
            return (Criteria) this;
        }

        public Criteria andOhcDamagetypeIn(List<String> values) {
            addCriterion("OHC_DAMAGETYPE in", values, "ohcDamagetype");
            return (Criteria) this;
        }

        public Criteria andOhcDamagetypeNotIn(List<String> values) {
            addCriterion("OHC_DAMAGETYPE not in", values, "ohcDamagetype");
            return (Criteria) this;
        }

        public Criteria andOhcDamagetypeBetween(String value1, String value2) {
            addCriterion("OHC_DAMAGETYPE between", value1, value2, "ohcDamagetype");
            return (Criteria) this;
        }

        public Criteria andOhcDamagetypeNotBetween(String value1, String value2) {
            addCriterion("OHC_DAMAGETYPE not between", value1, value2, "ohcDamagetype");
            return (Criteria) this;
        }

        public Criteria andOhcDamageplaceIsNull() {
            addCriterion("OHC_DAMAGEPLACE is null");
            return (Criteria) this;
        }

        public Criteria andOhcDamageplaceIsNotNull() {
            addCriterion("OHC_DAMAGEPLACE is not null");
            return (Criteria) this;
        }

        public Criteria andOhcDamageplaceEqualTo(String value) {
            addCriterion("OHC_DAMAGEPLACE =", value, "ohcDamageplace");
            return (Criteria) this;
        }

        public Criteria andOhcDamageplaceNotEqualTo(String value) {
            addCriterion("OHC_DAMAGEPLACE <>", value, "ohcDamageplace");
            return (Criteria) this;
        }

        public Criteria andOhcDamageplaceGreaterThan(String value) {
            addCriterion("OHC_DAMAGEPLACE >", value, "ohcDamageplace");
            return (Criteria) this;
        }

        public Criteria andOhcDamageplaceGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_DAMAGEPLACE >=", value, "ohcDamageplace");
            return (Criteria) this;
        }

        public Criteria andOhcDamageplaceLessThan(String value) {
            addCriterion("OHC_DAMAGEPLACE <", value, "ohcDamageplace");
            return (Criteria) this;
        }

        public Criteria andOhcDamageplaceLessThanOrEqualTo(String value) {
            addCriterion("OHC_DAMAGEPLACE <=", value, "ohcDamageplace");
            return (Criteria) this;
        }

        public Criteria andOhcDamageplaceLike(String value) {
            addCriterion("OHC_DAMAGEPLACE like", value, "ohcDamageplace");
            return (Criteria) this;
        }

        public Criteria andOhcDamageplaceNotLike(String value) {
            addCriterion("OHC_DAMAGEPLACE not like", value, "ohcDamageplace");
            return (Criteria) this;
        }

        public Criteria andOhcDamageplaceIn(List<String> values) {
            addCriterion("OHC_DAMAGEPLACE in", values, "ohcDamageplace");
            return (Criteria) this;
        }

        public Criteria andOhcDamageplaceNotIn(List<String> values) {
            addCriterion("OHC_DAMAGEPLACE not in", values, "ohcDamageplace");
            return (Criteria) this;
        }

        public Criteria andOhcDamageplaceBetween(String value1, String value2) {
            addCriterion("OHC_DAMAGEPLACE between", value1, value2, "ohcDamageplace");
            return (Criteria) this;
        }

        public Criteria andOhcDamageplaceNotBetween(String value1, String value2) {
            addCriterion("OHC_DAMAGEPLACE not between", value1, value2, "ohcDamageplace");
            return (Criteria) this;
        }

        public Criteria andOhcWeightIsNull() {
            addCriterion("OHC_WEIGHT is null");
            return (Criteria) this;
        }

        public Criteria andOhcWeightIsNotNull() {
            addCriterion("OHC_WEIGHT is not null");
            return (Criteria) this;
        }

        public Criteria andOhcWeightEqualTo(Integer value) {
            addCriterion("OHC_WEIGHT =", value, "ohcWeight");
            return (Criteria) this;
        }

        public Criteria andOhcWeightNotEqualTo(Integer value) {
            addCriterion("OHC_WEIGHT <>", value, "ohcWeight");
            return (Criteria) this;
        }

        public Criteria andOhcWeightGreaterThan(Integer value) {
            addCriterion("OHC_WEIGHT >", value, "ohcWeight");
            return (Criteria) this;
        }

        public Criteria andOhcWeightGreaterThanOrEqualTo(Integer value) {
            addCriterion("OHC_WEIGHT >=", value, "ohcWeight");
            return (Criteria) this;
        }

        public Criteria andOhcWeightLessThan(Integer value) {
            addCriterion("OHC_WEIGHT <", value, "ohcWeight");
            return (Criteria) this;
        }

        public Criteria andOhcWeightLessThanOrEqualTo(Integer value) {
            addCriterion("OHC_WEIGHT <=", value, "ohcWeight");
            return (Criteria) this;
        }

        public Criteria andOhcWeightIn(List<Integer> values) {
            addCriterion("OHC_WEIGHT in", values, "ohcWeight");
            return (Criteria) this;
        }

        public Criteria andOhcWeightNotIn(List<Integer> values) {
            addCriterion("OHC_WEIGHT not in", values, "ohcWeight");
            return (Criteria) this;
        }

        public Criteria andOhcWeightBetween(Integer value1, Integer value2) {
            addCriterion("OHC_WEIGHT between", value1, value2, "ohcWeight");
            return (Criteria) this;
        }

        public Criteria andOhcWeightNotBetween(Integer value1, Integer value2) {
            addCriterion("OHC_WEIGHT not between", value1, value2, "ohcWeight");
            return (Criteria) this;
        }

        public Criteria andOhcOthopfgIsNull() {
            addCriterion("OHC_OTHOPFG is null");
            return (Criteria) this;
        }

        public Criteria andOhcOthopfgIsNotNull() {
            addCriterion("OHC_OTHOPFG is not null");
            return (Criteria) this;
        }

        public Criteria andOhcOthopfgEqualTo(String value) {
            addCriterion("OHC_OTHOPFG =", value, "ohcOthopfg");
            return (Criteria) this;
        }

        public Criteria andOhcOthopfgNotEqualTo(String value) {
            addCriterion("OHC_OTHOPFG <>", value, "ohcOthopfg");
            return (Criteria) this;
        }

        public Criteria andOhcOthopfgGreaterThan(String value) {
            addCriterion("OHC_OTHOPFG >", value, "ohcOthopfg");
            return (Criteria) this;
        }

        public Criteria andOhcOthopfgGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_OTHOPFG >=", value, "ohcOthopfg");
            return (Criteria) this;
        }

        public Criteria andOhcOthopfgLessThan(String value) {
            addCriterion("OHC_OTHOPFG <", value, "ohcOthopfg");
            return (Criteria) this;
        }

        public Criteria andOhcOthopfgLessThanOrEqualTo(String value) {
            addCriterion("OHC_OTHOPFG <=", value, "ohcOthopfg");
            return (Criteria) this;
        }

        public Criteria andOhcOthopfgLike(String value) {
            addCriterion("OHC_OTHOPFG like", value, "ohcOthopfg");
            return (Criteria) this;
        }

        public Criteria andOhcOthopfgNotLike(String value) {
            addCriterion("OHC_OTHOPFG not like", value, "ohcOthopfg");
            return (Criteria) this;
        }

        public Criteria andOhcOthopfgIn(List<String> values) {
            addCriterion("OHC_OTHOPFG in", values, "ohcOthopfg");
            return (Criteria) this;
        }

        public Criteria andOhcOthopfgNotIn(List<String> values) {
            addCriterion("OHC_OTHOPFG not in", values, "ohcOthopfg");
            return (Criteria) this;
        }

        public Criteria andOhcOthopfgBetween(String value1, String value2) {
            addCriterion("OHC_OTHOPFG between", value1, value2, "ohcOthopfg");
            return (Criteria) this;
        }

        public Criteria andOhcOthopfgNotBetween(String value1, String value2) {
            addCriterion("OHC_OTHOPFG not between", value1, value2, "ohcOthopfg");
            return (Criteria) this;
        }

        public Criteria andOhcTransitfgIsNull() {
            addCriterion("OHC_TRANSITFG is null");
            return (Criteria) this;
        }

        public Criteria andOhcTransitfgIsNotNull() {
            addCriterion("OHC_TRANSITFG is not null");
            return (Criteria) this;
        }

        public Criteria andOhcTransitfgEqualTo(String value) {
            addCriterion("OHC_TRANSITFG =", value, "ohcTransitfg");
            return (Criteria) this;
        }

        public Criteria andOhcTransitfgNotEqualTo(String value) {
            addCriterion("OHC_TRANSITFG <>", value, "ohcTransitfg");
            return (Criteria) this;
        }

        public Criteria andOhcTransitfgGreaterThan(String value) {
            addCriterion("OHC_TRANSITFG >", value, "ohcTransitfg");
            return (Criteria) this;
        }

        public Criteria andOhcTransitfgGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_TRANSITFG >=", value, "ohcTransitfg");
            return (Criteria) this;
        }

        public Criteria andOhcTransitfgLessThan(String value) {
            addCriterion("OHC_TRANSITFG <", value, "ohcTransitfg");
            return (Criteria) this;
        }

        public Criteria andOhcTransitfgLessThanOrEqualTo(String value) {
            addCriterion("OHC_TRANSITFG <=", value, "ohcTransitfg");
            return (Criteria) this;
        }

        public Criteria andOhcTransitfgLike(String value) {
            addCriterion("OHC_TRANSITFG like", value, "ohcTransitfg");
            return (Criteria) this;
        }

        public Criteria andOhcTransitfgNotLike(String value) {
            addCriterion("OHC_TRANSITFG not like", value, "ohcTransitfg");
            return (Criteria) this;
        }

        public Criteria andOhcTransitfgIn(List<String> values) {
            addCriterion("OHC_TRANSITFG in", values, "ohcTransitfg");
            return (Criteria) this;
        }

        public Criteria andOhcTransitfgNotIn(List<String> values) {
            addCriterion("OHC_TRANSITFG not in", values, "ohcTransitfg");
            return (Criteria) this;
        }

        public Criteria andOhcTransitfgBetween(String value1, String value2) {
            addCriterion("OHC_TRANSITFG between", value1, value2, "ohcTransitfg");
            return (Criteria) this;
        }

        public Criteria andOhcTransitfgNotBetween(String value1, String value2) {
            addCriterion("OHC_TRANSITFG not between", value1, value2, "ohcTransitfg");
            return (Criteria) this;
        }

        public Criteria andOhcValidatenoIsNull() {
            addCriterion("OHC_VALIDATENO is null");
            return (Criteria) this;
        }

        public Criteria andOhcValidatenoIsNotNull() {
            addCriterion("OHC_VALIDATENO is not null");
            return (Criteria) this;
        }

        public Criteria andOhcValidatenoEqualTo(Long value) {
            addCriterion("OHC_VALIDATENO =", value, "ohcValidateno");
            return (Criteria) this;
        }

        public Criteria andOhcValidatenoNotEqualTo(Long value) {
            addCriterion("OHC_VALIDATENO <>", value, "ohcValidateno");
            return (Criteria) this;
        }

        public Criteria andOhcValidatenoGreaterThan(Long value) {
            addCriterion("OHC_VALIDATENO >", value, "ohcValidateno");
            return (Criteria) this;
        }

        public Criteria andOhcValidatenoGreaterThanOrEqualTo(Long value) {
            addCriterion("OHC_VALIDATENO >=", value, "ohcValidateno");
            return (Criteria) this;
        }

        public Criteria andOhcValidatenoLessThan(Long value) {
            addCriterion("OHC_VALIDATENO <", value, "ohcValidateno");
            return (Criteria) this;
        }

        public Criteria andOhcValidatenoLessThanOrEqualTo(Long value) {
            addCriterion("OHC_VALIDATENO <=", value, "ohcValidateno");
            return (Criteria) this;
        }

        public Criteria andOhcValidatenoIn(List<Long> values) {
            addCriterion("OHC_VALIDATENO in", values, "ohcValidateno");
            return (Criteria) this;
        }

        public Criteria andOhcValidatenoNotIn(List<Long> values) {
            addCriterion("OHC_VALIDATENO not in", values, "ohcValidateno");
            return (Criteria) this;
        }

        public Criteria andOhcValidatenoBetween(Long value1, Long value2) {
            addCriterion("OHC_VALIDATENO between", value1, value2, "ohcValidateno");
            return (Criteria) this;
        }

        public Criteria andOhcValidatenoNotBetween(Long value1, Long value2) {
            addCriterion("OHC_VALIDATENO not between", value1, value2, "ohcValidateno");
            return (Criteria) this;
        }

        public Criteria andOhcPlannoIsNull() {
            addCriterion("OHC_PLANNO is null");
            return (Criteria) this;
        }

        public Criteria andOhcPlannoIsNotNull() {
            addCriterion("OHC_PLANNO is not null");
            return (Criteria) this;
        }

        public Criteria andOhcPlannoEqualTo(Long value) {
            addCriterion("OHC_PLANNO =", value, "ohcPlanno");
            return (Criteria) this;
        }

        public Criteria andOhcPlannoNotEqualTo(Long value) {
            addCriterion("OHC_PLANNO <>", value, "ohcPlanno");
            return (Criteria) this;
        }

        public Criteria andOhcPlannoGreaterThan(Long value) {
            addCriterion("OHC_PLANNO >", value, "ohcPlanno");
            return (Criteria) this;
        }

        public Criteria andOhcPlannoGreaterThanOrEqualTo(Long value) {
            addCriterion("OHC_PLANNO >=", value, "ohcPlanno");
            return (Criteria) this;
        }

        public Criteria andOhcPlannoLessThan(Long value) {
            addCriterion("OHC_PLANNO <", value, "ohcPlanno");
            return (Criteria) this;
        }

        public Criteria andOhcPlannoLessThanOrEqualTo(Long value) {
            addCriterion("OHC_PLANNO <=", value, "ohcPlanno");
            return (Criteria) this;
        }

        public Criteria andOhcPlannoIn(List<Long> values) {
            addCriterion("OHC_PLANNO in", values, "ohcPlanno");
            return (Criteria) this;
        }

        public Criteria andOhcPlannoNotIn(List<Long> values) {
            addCriterion("OHC_PLANNO not in", values, "ohcPlanno");
            return (Criteria) this;
        }

        public Criteria andOhcPlannoBetween(Long value1, Long value2) {
            addCriterion("OHC_PLANNO between", value1, value2, "ohcPlanno");
            return (Criteria) this;
        }

        public Criteria andOhcPlannoNotBetween(Long value1, Long value2) {
            addCriterion("OHC_PLANNO not between", value1, value2, "ohcPlanno");
            return (Criteria) this;
        }

        public Criteria andOhcEirIsNull() {
            addCriterion("OHC_EIR is null");
            return (Criteria) this;
        }

        public Criteria andOhcEirIsNotNull() {
            addCriterion("OHC_EIR is not null");
            return (Criteria) this;
        }

        public Criteria andOhcEirEqualTo(String value) {
            addCriterion("OHC_EIR =", value, "ohcEir");
            return (Criteria) this;
        }

        public Criteria andOhcEirNotEqualTo(String value) {
            addCriterion("OHC_EIR <>", value, "ohcEir");
            return (Criteria) this;
        }

        public Criteria andOhcEirGreaterThan(String value) {
            addCriterion("OHC_EIR >", value, "ohcEir");
            return (Criteria) this;
        }

        public Criteria andOhcEirGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_EIR >=", value, "ohcEir");
            return (Criteria) this;
        }

        public Criteria andOhcEirLessThan(String value) {
            addCriterion("OHC_EIR <", value, "ohcEir");
            return (Criteria) this;
        }

        public Criteria andOhcEirLessThanOrEqualTo(String value) {
            addCriterion("OHC_EIR <=", value, "ohcEir");
            return (Criteria) this;
        }

        public Criteria andOhcEirLike(String value) {
            addCriterion("OHC_EIR like", value, "ohcEir");
            return (Criteria) this;
        }

        public Criteria andOhcEirNotLike(String value) {
            addCriterion("OHC_EIR not like", value, "ohcEir");
            return (Criteria) this;
        }

        public Criteria andOhcEirIn(List<String> values) {
            addCriterion("OHC_EIR in", values, "ohcEir");
            return (Criteria) this;
        }

        public Criteria andOhcEirNotIn(List<String> values) {
            addCriterion("OHC_EIR not in", values, "ohcEir");
            return (Criteria) this;
        }

        public Criteria andOhcEirBetween(String value1, String value2) {
            addCriterion("OHC_EIR between", value1, value2, "ohcEir");
            return (Criteria) this;
        }

        public Criteria andOhcEirNotBetween(String value1, String value2) {
            addCriterion("OHC_EIR not between", value1, value2, "ohcEir");
            return (Criteria) this;
        }

        public Criteria andOhcOisOpinstridIsNull() {
            addCriterion("OHC_OIS_OPINSTRID is null");
            return (Criteria) this;
        }

        public Criteria andOhcOisOpinstridIsNotNull() {
            addCriterion("OHC_OIS_OPINSTRID is not null");
            return (Criteria) this;
        }

        public Criteria andOhcOisOpinstridEqualTo(Long value) {
            addCriterion("OHC_OIS_OPINSTRID =", value, "ohcOisOpinstrid");
            return (Criteria) this;
        }

        public Criteria andOhcOisOpinstridNotEqualTo(Long value) {
            addCriterion("OHC_OIS_OPINSTRID <>", value, "ohcOisOpinstrid");
            return (Criteria) this;
        }

        public Criteria andOhcOisOpinstridGreaterThan(Long value) {
            addCriterion("OHC_OIS_OPINSTRID >", value, "ohcOisOpinstrid");
            return (Criteria) this;
        }

        public Criteria andOhcOisOpinstridGreaterThanOrEqualTo(Long value) {
            addCriterion("OHC_OIS_OPINSTRID >=", value, "ohcOisOpinstrid");
            return (Criteria) this;
        }

        public Criteria andOhcOisOpinstridLessThan(Long value) {
            addCriterion("OHC_OIS_OPINSTRID <", value, "ohcOisOpinstrid");
            return (Criteria) this;
        }

        public Criteria andOhcOisOpinstridLessThanOrEqualTo(Long value) {
            addCriterion("OHC_OIS_OPINSTRID <=", value, "ohcOisOpinstrid");
            return (Criteria) this;
        }

        public Criteria andOhcOisOpinstridIn(List<Long> values) {
            addCriterion("OHC_OIS_OPINSTRID in", values, "ohcOisOpinstrid");
            return (Criteria) this;
        }

        public Criteria andOhcOisOpinstridNotIn(List<Long> values) {
            addCriterion("OHC_OIS_OPINSTRID not in", values, "ohcOisOpinstrid");
            return (Criteria) this;
        }

        public Criteria andOhcOisOpinstridBetween(Long value1, Long value2) {
            addCriterion("OHC_OIS_OPINSTRID between", value1, value2, "ohcOisOpinstrid");
            return (Criteria) this;
        }

        public Criteria andOhcOisOpinstridNotBetween(Long value1, Long value2) {
            addCriterion("OHC_OIS_OPINSTRID not between", value1, value2, "ohcOisOpinstrid");
            return (Criteria) this;
        }

        public Criteria andOhcOpprcIsNull() {
            addCriterion("OHC_OPPRC is null");
            return (Criteria) this;
        }

        public Criteria andOhcOpprcIsNotNull() {
            addCriterion("OHC_OPPRC is not null");
            return (Criteria) this;
        }

        public Criteria andOhcOpprcEqualTo(String value) {
            addCriterion("OHC_OPPRC =", value, "ohcOpprc");
            return (Criteria) this;
        }

        public Criteria andOhcOpprcNotEqualTo(String value) {
            addCriterion("OHC_OPPRC <>", value, "ohcOpprc");
            return (Criteria) this;
        }

        public Criteria andOhcOpprcGreaterThan(String value) {
            addCriterion("OHC_OPPRC >", value, "ohcOpprc");
            return (Criteria) this;
        }

        public Criteria andOhcOpprcGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_OPPRC >=", value, "ohcOpprc");
            return (Criteria) this;
        }

        public Criteria andOhcOpprcLessThan(String value) {
            addCriterion("OHC_OPPRC <", value, "ohcOpprc");
            return (Criteria) this;
        }

        public Criteria andOhcOpprcLessThanOrEqualTo(String value) {
            addCriterion("OHC_OPPRC <=", value, "ohcOpprc");
            return (Criteria) this;
        }

        public Criteria andOhcOpprcLike(String value) {
            addCriterion("OHC_OPPRC like", value, "ohcOpprc");
            return (Criteria) this;
        }

        public Criteria andOhcOpprcNotLike(String value) {
            addCriterion("OHC_OPPRC not like", value, "ohcOpprc");
            return (Criteria) this;
        }

        public Criteria andOhcOpprcIn(List<String> values) {
            addCriterion("OHC_OPPRC in", values, "ohcOpprc");
            return (Criteria) this;
        }

        public Criteria andOhcOpprcNotIn(List<String> values) {
            addCriterion("OHC_OPPRC not in", values, "ohcOpprc");
            return (Criteria) this;
        }

        public Criteria andOhcOpprcBetween(String value1, String value2) {
            addCriterion("OHC_OPPRC between", value1, value2, "ohcOpprc");
            return (Criteria) this;
        }

        public Criteria andOhcOpprcNotBetween(String value1, String value2) {
            addCriterion("OHC_OPPRC not between", value1, value2, "ohcOpprc");
            return (Criteria) this;
        }

        public Criteria andOhcOpmodeIsNull() {
            addCriterion("OHC_OPMODE is null");
            return (Criteria) this;
        }

        public Criteria andOhcOpmodeIsNotNull() {
            addCriterion("OHC_OPMODE is not null");
            return (Criteria) this;
        }

        public Criteria andOhcOpmodeEqualTo(String value) {
            addCriterion("OHC_OPMODE =", value, "ohcOpmode");
            return (Criteria) this;
        }

        public Criteria andOhcOpmodeNotEqualTo(String value) {
            addCriterion("OHC_OPMODE <>", value, "ohcOpmode");
            return (Criteria) this;
        }

        public Criteria andOhcOpmodeGreaterThan(String value) {
            addCriterion("OHC_OPMODE >", value, "ohcOpmode");
            return (Criteria) this;
        }

        public Criteria andOhcOpmodeGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_OPMODE >=", value, "ohcOpmode");
            return (Criteria) this;
        }

        public Criteria andOhcOpmodeLessThan(String value) {
            addCriterion("OHC_OPMODE <", value, "ohcOpmode");
            return (Criteria) this;
        }

        public Criteria andOhcOpmodeLessThanOrEqualTo(String value) {
            addCriterion("OHC_OPMODE <=", value, "ohcOpmode");
            return (Criteria) this;
        }

        public Criteria andOhcOpmodeLike(String value) {
            addCriterion("OHC_OPMODE like", value, "ohcOpmode");
            return (Criteria) this;
        }

        public Criteria andOhcOpmodeNotLike(String value) {
            addCriterion("OHC_OPMODE not like", value, "ohcOpmode");
            return (Criteria) this;
        }

        public Criteria andOhcOpmodeIn(List<String> values) {
            addCriterion("OHC_OPMODE in", values, "ohcOpmode");
            return (Criteria) this;
        }

        public Criteria andOhcOpmodeNotIn(List<String> values) {
            addCriterion("OHC_OPMODE not in", values, "ohcOpmode");
            return (Criteria) this;
        }

        public Criteria andOhcOpmodeBetween(String value1, String value2) {
            addCriterion("OHC_OPMODE between", value1, value2, "ohcOpmode");
            return (Criteria) this;
        }

        public Criteria andOhcOpmodeNotBetween(String value1, String value2) {
            addCriterion("OHC_OPMODE not between", value1, value2, "ohcOpmode");
            return (Criteria) this;
        }

        public Criteria andOhcOpstatusIsNull() {
            addCriterion("OHC_OPSTATUS is null");
            return (Criteria) this;
        }

        public Criteria andOhcOpstatusIsNotNull() {
            addCriterion("OHC_OPSTATUS is not null");
            return (Criteria) this;
        }

        public Criteria andOhcOpstatusEqualTo(String value) {
            addCriterion("OHC_OPSTATUS =", value, "ohcOpstatus");
            return (Criteria) this;
        }

        public Criteria andOhcOpstatusNotEqualTo(String value) {
            addCriterion("OHC_OPSTATUS <>", value, "ohcOpstatus");
            return (Criteria) this;
        }

        public Criteria andOhcOpstatusGreaterThan(String value) {
            addCriterion("OHC_OPSTATUS >", value, "ohcOpstatus");
            return (Criteria) this;
        }

        public Criteria andOhcOpstatusGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_OPSTATUS >=", value, "ohcOpstatus");
            return (Criteria) this;
        }

        public Criteria andOhcOpstatusLessThan(String value) {
            addCriterion("OHC_OPSTATUS <", value, "ohcOpstatus");
            return (Criteria) this;
        }

        public Criteria andOhcOpstatusLessThanOrEqualTo(String value) {
            addCriterion("OHC_OPSTATUS <=", value, "ohcOpstatus");
            return (Criteria) this;
        }

        public Criteria andOhcOpstatusLike(String value) {
            addCriterion("OHC_OPSTATUS like", value, "ohcOpstatus");
            return (Criteria) this;
        }

        public Criteria andOhcOpstatusNotLike(String value) {
            addCriterion("OHC_OPSTATUS not like", value, "ohcOpstatus");
            return (Criteria) this;
        }

        public Criteria andOhcOpstatusIn(List<String> values) {
            addCriterion("OHC_OPSTATUS in", values, "ohcOpstatus");
            return (Criteria) this;
        }

        public Criteria andOhcOpstatusNotIn(List<String> values) {
            addCriterion("OHC_OPSTATUS not in", values, "ohcOpstatus");
            return (Criteria) this;
        }

        public Criteria andOhcOpstatusBetween(String value1, String value2) {
            addCriterion("OHC_OPSTATUS between", value1, value2, "ohcOpstatus");
            return (Criteria) this;
        }

        public Criteria andOhcOpstatusNotBetween(String value1, String value2) {
            addCriterion("OHC_OPSTATUS not between", value1, value2, "ohcOpstatus");
            return (Criteria) this;
        }

        public Criteria andOhcYlocationIsNull() {
            addCriterion("OHC_YLOCATION is null");
            return (Criteria) this;
        }

        public Criteria andOhcYlocationIsNotNull() {
            addCriterion("OHC_YLOCATION is not null");
            return (Criteria) this;
        }

        public Criteria andOhcYlocationEqualTo(String value) {
            addCriterion("OHC_YLOCATION =", value, "ohcYlocation");
            return (Criteria) this;
        }

        public Criteria andOhcYlocationNotEqualTo(String value) {
            addCriterion("OHC_YLOCATION <>", value, "ohcYlocation");
            return (Criteria) this;
        }

        public Criteria andOhcYlocationGreaterThan(String value) {
            addCriterion("OHC_YLOCATION >", value, "ohcYlocation");
            return (Criteria) this;
        }

        public Criteria andOhcYlocationGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_YLOCATION >=", value, "ohcYlocation");
            return (Criteria) this;
        }

        public Criteria andOhcYlocationLessThan(String value) {
            addCriterion("OHC_YLOCATION <", value, "ohcYlocation");
            return (Criteria) this;
        }

        public Criteria andOhcYlocationLessThanOrEqualTo(String value) {
            addCriterion("OHC_YLOCATION <=", value, "ohcYlocation");
            return (Criteria) this;
        }

        public Criteria andOhcYlocationLike(String value) {
            addCriterion("OHC_YLOCATION like", value, "ohcYlocation");
            return (Criteria) this;
        }

        public Criteria andOhcYlocationNotLike(String value) {
            addCriterion("OHC_YLOCATION not like", value, "ohcYlocation");
            return (Criteria) this;
        }

        public Criteria andOhcYlocationIn(List<String> values) {
            addCriterion("OHC_YLOCATION in", values, "ohcYlocation");
            return (Criteria) this;
        }

        public Criteria andOhcYlocationNotIn(List<String> values) {
            addCriterion("OHC_YLOCATION not in", values, "ohcYlocation");
            return (Criteria) this;
        }

        public Criteria andOhcYlocationBetween(String value1, String value2) {
            addCriterion("OHC_YLOCATION between", value1, value2, "ohcYlocation");
            return (Criteria) this;
        }

        public Criteria andOhcYlocationNotBetween(String value1, String value2) {
            addCriterion("OHC_YLOCATION not between", value1, value2, "ohcYlocation");
            return (Criteria) this;
        }

        public Criteria andOhcInyardtmIsNull() {
            addCriterion("OHC_INYARDTM is null");
            return (Criteria) this;
        }

        public Criteria andOhcInyardtmIsNotNull() {
            addCriterion("OHC_INYARDTM is not null");
            return (Criteria) this;
        }

        public Criteria andOhcInyardtmEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_INYARDTM =", value, "ohcInyardtm");
            return (Criteria) this;
        }

        public Criteria andOhcInyardtmNotEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_INYARDTM <>", value, "ohcInyardtm");
            return (Criteria) this;
        }

        public Criteria andOhcInyardtmGreaterThan(Date value) {
            addCriterionForJDBCDate("OHC_INYARDTM >", value, "ohcInyardtm");
            return (Criteria) this;
        }

        public Criteria andOhcInyardtmGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_INYARDTM >=", value, "ohcInyardtm");
            return (Criteria) this;
        }

        public Criteria andOhcInyardtmLessThan(Date value) {
            addCriterionForJDBCDate("OHC_INYARDTM <", value, "ohcInyardtm");
            return (Criteria) this;
        }

        public Criteria andOhcInyardtmLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_INYARDTM <=", value, "ohcInyardtm");
            return (Criteria) this;
        }

        public Criteria andOhcInyardtmIn(List<Date> values) {
            addCriterionForJDBCDate("OHC_INYARDTM in", values, "ohcInyardtm");
            return (Criteria) this;
        }

        public Criteria andOhcInyardtmNotIn(List<Date> values) {
            addCriterionForJDBCDate("OHC_INYARDTM not in", values, "ohcInyardtm");
            return (Criteria) this;
        }

        public Criteria andOhcInyardtmBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OHC_INYARDTM between", value1, value2, "ohcInyardtm");
            return (Criteria) this;
        }

        public Criteria andOhcInyardtmNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OHC_INYARDTM not between", value1, value2, "ohcInyardtm");
            return (Criteria) this;
        }

        public Criteria andOhcInemptnoIsNull() {
            addCriterion("OHC_INEMPTNO is null");
            return (Criteria) this;
        }

        public Criteria andOhcInemptnoIsNotNull() {
            addCriterion("OHC_INEMPTNO is not null");
            return (Criteria) this;
        }

        public Criteria andOhcInemptnoEqualTo(String value) {
            addCriterion("OHC_INEMPTNO =", value, "ohcInemptno");
            return (Criteria) this;
        }

        public Criteria andOhcInemptnoNotEqualTo(String value) {
            addCriterion("OHC_INEMPTNO <>", value, "ohcInemptno");
            return (Criteria) this;
        }

        public Criteria andOhcInemptnoGreaterThan(String value) {
            addCriterion("OHC_INEMPTNO >", value, "ohcInemptno");
            return (Criteria) this;
        }

        public Criteria andOhcInemptnoGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_INEMPTNO >=", value, "ohcInemptno");
            return (Criteria) this;
        }

        public Criteria andOhcInemptnoLessThan(String value) {
            addCriterion("OHC_INEMPTNO <", value, "ohcInemptno");
            return (Criteria) this;
        }

        public Criteria andOhcInemptnoLessThanOrEqualTo(String value) {
            addCriterion("OHC_INEMPTNO <=", value, "ohcInemptno");
            return (Criteria) this;
        }

        public Criteria andOhcInemptnoLike(String value) {
            addCriterion("OHC_INEMPTNO like", value, "ohcInemptno");
            return (Criteria) this;
        }

        public Criteria andOhcInemptnoNotLike(String value) {
            addCriterion("OHC_INEMPTNO not like", value, "ohcInemptno");
            return (Criteria) this;
        }

        public Criteria andOhcInemptnoIn(List<String> values) {
            addCriterion("OHC_INEMPTNO in", values, "ohcInemptno");
            return (Criteria) this;
        }

        public Criteria andOhcInemptnoNotIn(List<String> values) {
            addCriterion("OHC_INEMPTNO not in", values, "ohcInemptno");
            return (Criteria) this;
        }

        public Criteria andOhcInemptnoBetween(String value1, String value2) {
            addCriterion("OHC_INEMPTNO between", value1, value2, "ohcInemptno");
            return (Criteria) this;
        }

        public Criteria andOhcInemptnoNotBetween(String value1, String value2) {
            addCriterion("OHC_INEMPTNO not between", value1, value2, "ohcInemptno");
            return (Criteria) this;
        }

        public Criteria andOhcInvoicenoIsNull() {
            addCriterion("OHC_INVOICENO is null");
            return (Criteria) this;
        }

        public Criteria andOhcInvoicenoIsNotNull() {
            addCriterion("OHC_INVOICENO is not null");
            return (Criteria) this;
        }

        public Criteria andOhcInvoicenoEqualTo(String value) {
            addCriterion("OHC_INVOICENO =", value, "ohcInvoiceno");
            return (Criteria) this;
        }

        public Criteria andOhcInvoicenoNotEqualTo(String value) {
            addCriterion("OHC_INVOICENO <>", value, "ohcInvoiceno");
            return (Criteria) this;
        }

        public Criteria andOhcInvoicenoGreaterThan(String value) {
            addCriterion("OHC_INVOICENO >", value, "ohcInvoiceno");
            return (Criteria) this;
        }

        public Criteria andOhcInvoicenoGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_INVOICENO >=", value, "ohcInvoiceno");
            return (Criteria) this;
        }

        public Criteria andOhcInvoicenoLessThan(String value) {
            addCriterion("OHC_INVOICENO <", value, "ohcInvoiceno");
            return (Criteria) this;
        }

        public Criteria andOhcInvoicenoLessThanOrEqualTo(String value) {
            addCriterion("OHC_INVOICENO <=", value, "ohcInvoiceno");
            return (Criteria) this;
        }

        public Criteria andOhcInvoicenoLike(String value) {
            addCriterion("OHC_INVOICENO like", value, "ohcInvoiceno");
            return (Criteria) this;
        }

        public Criteria andOhcInvoicenoNotLike(String value) {
            addCriterion("OHC_INVOICENO not like", value, "ohcInvoiceno");
            return (Criteria) this;
        }

        public Criteria andOhcInvoicenoIn(List<String> values) {
            addCriterion("OHC_INVOICENO in", values, "ohcInvoiceno");
            return (Criteria) this;
        }

        public Criteria andOhcInvoicenoNotIn(List<String> values) {
            addCriterion("OHC_INVOICENO not in", values, "ohcInvoiceno");
            return (Criteria) this;
        }

        public Criteria andOhcInvoicenoBetween(String value1, String value2) {
            addCriterion("OHC_INVOICENO between", value1, value2, "ohcInvoiceno");
            return (Criteria) this;
        }

        public Criteria andOhcInvoicenoNotBetween(String value1, String value2) {
            addCriterion("OHC_INVOICENO not between", value1, value2, "ohcInvoiceno");
            return (Criteria) this;
        }

        public Criteria andOhcProcstatusIsNull() {
            addCriterion("OHC_PROCSTATUS is null");
            return (Criteria) this;
        }

        public Criteria andOhcProcstatusIsNotNull() {
            addCriterion("OHC_PROCSTATUS is not null");
            return (Criteria) this;
        }

        public Criteria andOhcProcstatusEqualTo(String value) {
            addCriterion("OHC_PROCSTATUS =", value, "ohcProcstatus");
            return (Criteria) this;
        }

        public Criteria andOhcProcstatusNotEqualTo(String value) {
            addCriterion("OHC_PROCSTATUS <>", value, "ohcProcstatus");
            return (Criteria) this;
        }

        public Criteria andOhcProcstatusGreaterThan(String value) {
            addCriterion("OHC_PROCSTATUS >", value, "ohcProcstatus");
            return (Criteria) this;
        }

        public Criteria andOhcProcstatusGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_PROCSTATUS >=", value, "ohcProcstatus");
            return (Criteria) this;
        }

        public Criteria andOhcProcstatusLessThan(String value) {
            addCriterion("OHC_PROCSTATUS <", value, "ohcProcstatus");
            return (Criteria) this;
        }

        public Criteria andOhcProcstatusLessThanOrEqualTo(String value) {
            addCriterion("OHC_PROCSTATUS <=", value, "ohcProcstatus");
            return (Criteria) this;
        }

        public Criteria andOhcProcstatusLike(String value) {
            addCriterion("OHC_PROCSTATUS like", value, "ohcProcstatus");
            return (Criteria) this;
        }

        public Criteria andOhcProcstatusNotLike(String value) {
            addCriterion("OHC_PROCSTATUS not like", value, "ohcProcstatus");
            return (Criteria) this;
        }

        public Criteria andOhcProcstatusIn(List<String> values) {
            addCriterion("OHC_PROCSTATUS in", values, "ohcProcstatus");
            return (Criteria) this;
        }

        public Criteria andOhcProcstatusNotIn(List<String> values) {
            addCriterion("OHC_PROCSTATUS not in", values, "ohcProcstatus");
            return (Criteria) this;
        }

        public Criteria andOhcProcstatusBetween(String value1, String value2) {
            addCriterion("OHC_PROCSTATUS between", value1, value2, "ohcProcstatus");
            return (Criteria) this;
        }

        public Criteria andOhcProcstatusNotBetween(String value1, String value2) {
            addCriterion("OHC_PROCSTATUS not between", value1, value2, "ohcProcstatus");
            return (Criteria) this;
        }

        public Criteria andOhcReturnfgIsNull() {
            addCriterion("OHC_RETURNFG is null");
            return (Criteria) this;
        }

        public Criteria andOhcReturnfgIsNotNull() {
            addCriterion("OHC_RETURNFG is not null");
            return (Criteria) this;
        }

        public Criteria andOhcReturnfgEqualTo(String value) {
            addCriterion("OHC_RETURNFG =", value, "ohcReturnfg");
            return (Criteria) this;
        }

        public Criteria andOhcReturnfgNotEqualTo(String value) {
            addCriterion("OHC_RETURNFG <>", value, "ohcReturnfg");
            return (Criteria) this;
        }

        public Criteria andOhcReturnfgGreaterThan(String value) {
            addCriterion("OHC_RETURNFG >", value, "ohcReturnfg");
            return (Criteria) this;
        }

        public Criteria andOhcReturnfgGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_RETURNFG >=", value, "ohcReturnfg");
            return (Criteria) this;
        }

        public Criteria andOhcReturnfgLessThan(String value) {
            addCriterion("OHC_RETURNFG <", value, "ohcReturnfg");
            return (Criteria) this;
        }

        public Criteria andOhcReturnfgLessThanOrEqualTo(String value) {
            addCriterion("OHC_RETURNFG <=", value, "ohcReturnfg");
            return (Criteria) this;
        }

        public Criteria andOhcReturnfgLike(String value) {
            addCriterion("OHC_RETURNFG like", value, "ohcReturnfg");
            return (Criteria) this;
        }

        public Criteria andOhcReturnfgNotLike(String value) {
            addCriterion("OHC_RETURNFG not like", value, "ohcReturnfg");
            return (Criteria) this;
        }

        public Criteria andOhcReturnfgIn(List<String> values) {
            addCriterion("OHC_RETURNFG in", values, "ohcReturnfg");
            return (Criteria) this;
        }

        public Criteria andOhcReturnfgNotIn(List<String> values) {
            addCriterion("OHC_RETURNFG not in", values, "ohcReturnfg");
            return (Criteria) this;
        }

        public Criteria andOhcReturnfgBetween(String value1, String value2) {
            addCriterion("OHC_RETURNFG between", value1, value2, "ohcReturnfg");
            return (Criteria) this;
        }

        public Criteria andOhcReturnfgNotBetween(String value1, String value2) {
            addCriterion("OHC_RETURNFG not between", value1, value2, "ohcReturnfg");
            return (Criteria) this;
        }

        public Criteria andOhcCancelrsIsNull() {
            addCriterion("OHC_CANCELRS is null");
            return (Criteria) this;
        }

        public Criteria andOhcCancelrsIsNotNull() {
            addCriterion("OHC_CANCELRS is not null");
            return (Criteria) this;
        }

        public Criteria andOhcCancelrsEqualTo(String value) {
            addCriterion("OHC_CANCELRS =", value, "ohcCancelrs");
            return (Criteria) this;
        }

        public Criteria andOhcCancelrsNotEqualTo(String value) {
            addCriterion("OHC_CANCELRS <>", value, "ohcCancelrs");
            return (Criteria) this;
        }

        public Criteria andOhcCancelrsGreaterThan(String value) {
            addCriterion("OHC_CANCELRS >", value, "ohcCancelrs");
            return (Criteria) this;
        }

        public Criteria andOhcCancelrsGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_CANCELRS >=", value, "ohcCancelrs");
            return (Criteria) this;
        }

        public Criteria andOhcCancelrsLessThan(String value) {
            addCriterion("OHC_CANCELRS <", value, "ohcCancelrs");
            return (Criteria) this;
        }

        public Criteria andOhcCancelrsLessThanOrEqualTo(String value) {
            addCriterion("OHC_CANCELRS <=", value, "ohcCancelrs");
            return (Criteria) this;
        }

        public Criteria andOhcCancelrsLike(String value) {
            addCriterion("OHC_CANCELRS like", value, "ohcCancelrs");
            return (Criteria) this;
        }

        public Criteria andOhcCancelrsNotLike(String value) {
            addCriterion("OHC_CANCELRS not like", value, "ohcCancelrs");
            return (Criteria) this;
        }

        public Criteria andOhcCancelrsIn(List<String> values) {
            addCriterion("OHC_CANCELRS in", values, "ohcCancelrs");
            return (Criteria) this;
        }

        public Criteria andOhcCancelrsNotIn(List<String> values) {
            addCriterion("OHC_CANCELRS not in", values, "ohcCancelrs");
            return (Criteria) this;
        }

        public Criteria andOhcCancelrsBetween(String value1, String value2) {
            addCriterion("OHC_CANCELRS between", value1, value2, "ohcCancelrs");
            return (Criteria) this;
        }

        public Criteria andOhcCancelrsNotBetween(String value1, String value2) {
            addCriterion("OHC_CANCELRS not between", value1, value2, "ohcCancelrs");
            return (Criteria) this;
        }

        public Criteria andOhcPaytypeIsNull() {
            addCriterion("OHC_PAYTYPE is null");
            return (Criteria) this;
        }

        public Criteria andOhcPaytypeIsNotNull() {
            addCriterion("OHC_PAYTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andOhcPaytypeEqualTo(String value) {
            addCriterion("OHC_PAYTYPE =", value, "ohcPaytype");
            return (Criteria) this;
        }

        public Criteria andOhcPaytypeNotEqualTo(String value) {
            addCriterion("OHC_PAYTYPE <>", value, "ohcPaytype");
            return (Criteria) this;
        }

        public Criteria andOhcPaytypeGreaterThan(String value) {
            addCriterion("OHC_PAYTYPE >", value, "ohcPaytype");
            return (Criteria) this;
        }

        public Criteria andOhcPaytypeGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_PAYTYPE >=", value, "ohcPaytype");
            return (Criteria) this;
        }

        public Criteria andOhcPaytypeLessThan(String value) {
            addCriterion("OHC_PAYTYPE <", value, "ohcPaytype");
            return (Criteria) this;
        }

        public Criteria andOhcPaytypeLessThanOrEqualTo(String value) {
            addCriterion("OHC_PAYTYPE <=", value, "ohcPaytype");
            return (Criteria) this;
        }

        public Criteria andOhcPaytypeLike(String value) {
            addCriterion("OHC_PAYTYPE like", value, "ohcPaytype");
            return (Criteria) this;
        }

        public Criteria andOhcPaytypeNotLike(String value) {
            addCriterion("OHC_PAYTYPE not like", value, "ohcPaytype");
            return (Criteria) this;
        }

        public Criteria andOhcPaytypeIn(List<String> values) {
            addCriterion("OHC_PAYTYPE in", values, "ohcPaytype");
            return (Criteria) this;
        }

        public Criteria andOhcPaytypeNotIn(List<String> values) {
            addCriterion("OHC_PAYTYPE not in", values, "ohcPaytype");
            return (Criteria) this;
        }

        public Criteria andOhcPaytypeBetween(String value1, String value2) {
            addCriterion("OHC_PAYTYPE between", value1, value2, "ohcPaytype");
            return (Criteria) this;
        }

        public Criteria andOhcPaytypeNotBetween(String value1, String value2) {
            addCriterion("OHC_PAYTYPE not between", value1, value2, "ohcPaytype");
            return (Criteria) this;
        }

        public Criteria andOhcOutvnameIsNull() {
            addCriterion("OHC_OUTVNAME is null");
            return (Criteria) this;
        }

        public Criteria andOhcOutvnameIsNotNull() {
            addCriterion("OHC_OUTVNAME is not null");
            return (Criteria) this;
        }

        public Criteria andOhcOutvnameEqualTo(String value) {
            addCriterion("OHC_OUTVNAME =", value, "ohcOutvname");
            return (Criteria) this;
        }

        public Criteria andOhcOutvnameNotEqualTo(String value) {
            addCriterion("OHC_OUTVNAME <>", value, "ohcOutvname");
            return (Criteria) this;
        }

        public Criteria andOhcOutvnameGreaterThan(String value) {
            addCriterion("OHC_OUTVNAME >", value, "ohcOutvname");
            return (Criteria) this;
        }

        public Criteria andOhcOutvnameGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_OUTVNAME >=", value, "ohcOutvname");
            return (Criteria) this;
        }

        public Criteria andOhcOutvnameLessThan(String value) {
            addCriterion("OHC_OUTVNAME <", value, "ohcOutvname");
            return (Criteria) this;
        }

        public Criteria andOhcOutvnameLessThanOrEqualTo(String value) {
            addCriterion("OHC_OUTVNAME <=", value, "ohcOutvname");
            return (Criteria) this;
        }

        public Criteria andOhcOutvnameLike(String value) {
            addCriterion("OHC_OUTVNAME like", value, "ohcOutvname");
            return (Criteria) this;
        }

        public Criteria andOhcOutvnameNotLike(String value) {
            addCriterion("OHC_OUTVNAME not like", value, "ohcOutvname");
            return (Criteria) this;
        }

        public Criteria andOhcOutvnameIn(List<String> values) {
            addCriterion("OHC_OUTVNAME in", values, "ohcOutvname");
            return (Criteria) this;
        }

        public Criteria andOhcOutvnameNotIn(List<String> values) {
            addCriterion("OHC_OUTVNAME not in", values, "ohcOutvname");
            return (Criteria) this;
        }

        public Criteria andOhcOutvnameBetween(String value1, String value2) {
            addCriterion("OHC_OUTVNAME between", value1, value2, "ohcOutvname");
            return (Criteria) this;
        }

        public Criteria andOhcOutvnameNotBetween(String value1, String value2) {
            addCriterion("OHC_OUTVNAME not between", value1, value2, "ohcOutvname");
            return (Criteria) this;
        }

        public Criteria andOhcOutvoyageIsNull() {
            addCriterion("OHC_OUTVOYAGE is null");
            return (Criteria) this;
        }

        public Criteria andOhcOutvoyageIsNotNull() {
            addCriterion("OHC_OUTVOYAGE is not null");
            return (Criteria) this;
        }

        public Criteria andOhcOutvoyageEqualTo(String value) {
            addCriterion("OHC_OUTVOYAGE =", value, "ohcOutvoyage");
            return (Criteria) this;
        }

        public Criteria andOhcOutvoyageNotEqualTo(String value) {
            addCriterion("OHC_OUTVOYAGE <>", value, "ohcOutvoyage");
            return (Criteria) this;
        }

        public Criteria andOhcOutvoyageGreaterThan(String value) {
            addCriterion("OHC_OUTVOYAGE >", value, "ohcOutvoyage");
            return (Criteria) this;
        }

        public Criteria andOhcOutvoyageGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_OUTVOYAGE >=", value, "ohcOutvoyage");
            return (Criteria) this;
        }

        public Criteria andOhcOutvoyageLessThan(String value) {
            addCriterion("OHC_OUTVOYAGE <", value, "ohcOutvoyage");
            return (Criteria) this;
        }

        public Criteria andOhcOutvoyageLessThanOrEqualTo(String value) {
            addCriterion("OHC_OUTVOYAGE <=", value, "ohcOutvoyage");
            return (Criteria) this;
        }

        public Criteria andOhcOutvoyageLike(String value) {
            addCriterion("OHC_OUTVOYAGE like", value, "ohcOutvoyage");
            return (Criteria) this;
        }

        public Criteria andOhcOutvoyageNotLike(String value) {
            addCriterion("OHC_OUTVOYAGE not like", value, "ohcOutvoyage");
            return (Criteria) this;
        }

        public Criteria andOhcOutvoyageIn(List<String> values) {
            addCriterion("OHC_OUTVOYAGE in", values, "ohcOutvoyage");
            return (Criteria) this;
        }

        public Criteria andOhcOutvoyageNotIn(List<String> values) {
            addCriterion("OHC_OUTVOYAGE not in", values, "ohcOutvoyage");
            return (Criteria) this;
        }

        public Criteria andOhcOutvoyageBetween(String value1, String value2) {
            addCriterion("OHC_OUTVOYAGE between", value1, value2, "ohcOutvoyage");
            return (Criteria) this;
        }

        public Criteria andOhcOutvoyageNotBetween(String value1, String value2) {
            addCriterion("OHC_OUTVOYAGE not between", value1, value2, "ohcOutvoyage");
            return (Criteria) this;
        }

        public Criteria andOhcBillnoIsNull() {
            addCriterion("OHC_BILLNO is null");
            return (Criteria) this;
        }

        public Criteria andOhcBillnoIsNotNull() {
            addCriterion("OHC_BILLNO is not null");
            return (Criteria) this;
        }

        public Criteria andOhcBillnoEqualTo(String value) {
            addCriterion("OHC_BILLNO =", value, "ohcBillno");
            return (Criteria) this;
        }

        public Criteria andOhcBillnoNotEqualTo(String value) {
            addCriterion("OHC_BILLNO <>", value, "ohcBillno");
            return (Criteria) this;
        }

        public Criteria andOhcBillnoGreaterThan(String value) {
            addCriterion("OHC_BILLNO >", value, "ohcBillno");
            return (Criteria) this;
        }

        public Criteria andOhcBillnoGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_BILLNO >=", value, "ohcBillno");
            return (Criteria) this;
        }

        public Criteria andOhcBillnoLessThan(String value) {
            addCriterion("OHC_BILLNO <", value, "ohcBillno");
            return (Criteria) this;
        }

        public Criteria andOhcBillnoLessThanOrEqualTo(String value) {
            addCriterion("OHC_BILLNO <=", value, "ohcBillno");
            return (Criteria) this;
        }

        public Criteria andOhcBillnoLike(String value) {
            addCriterion("OHC_BILLNO like", value, "ohcBillno");
            return (Criteria) this;
        }

        public Criteria andOhcBillnoNotLike(String value) {
            addCriterion("OHC_BILLNO not like", value, "ohcBillno");
            return (Criteria) this;
        }

        public Criteria andOhcBillnoIn(List<String> values) {
            addCriterion("OHC_BILLNO in", values, "ohcBillno");
            return (Criteria) this;
        }

        public Criteria andOhcBillnoNotIn(List<String> values) {
            addCriterion("OHC_BILLNO not in", values, "ohcBillno");
            return (Criteria) this;
        }

        public Criteria andOhcBillnoBetween(String value1, String value2) {
            addCriterion("OHC_BILLNO between", value1, value2, "ohcBillno");
            return (Criteria) this;
        }

        public Criteria andOhcBillnoNotBetween(String value1, String value2) {
            addCriterion("OHC_BILLNO not between", value1, value2, "ohcBillno");
            return (Criteria) this;
        }

        public Criteria andOhcPartitionnmIsNull() {
            addCriterion("OHC_PARTITIONNM is null");
            return (Criteria) this;
        }

        public Criteria andOhcPartitionnmIsNotNull() {
            addCriterion("OHC_PARTITIONNM is not null");
            return (Criteria) this;
        }

        public Criteria andOhcPartitionnmEqualTo(String value) {
            addCriterion("OHC_PARTITIONNM =", value, "ohcPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOhcPartitionnmNotEqualTo(String value) {
            addCriterion("OHC_PARTITIONNM <>", value, "ohcPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOhcPartitionnmGreaterThan(String value) {
            addCriterion("OHC_PARTITIONNM >", value, "ohcPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOhcPartitionnmGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_PARTITIONNM >=", value, "ohcPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOhcPartitionnmLessThan(String value) {
            addCriterion("OHC_PARTITIONNM <", value, "ohcPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOhcPartitionnmLessThanOrEqualTo(String value) {
            addCriterion("OHC_PARTITIONNM <=", value, "ohcPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOhcPartitionnmLike(String value) {
            addCriterion("OHC_PARTITIONNM like", value, "ohcPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOhcPartitionnmNotLike(String value) {
            addCriterion("OHC_PARTITIONNM not like", value, "ohcPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOhcPartitionnmIn(List<String> values) {
            addCriterion("OHC_PARTITIONNM in", values, "ohcPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOhcPartitionnmNotIn(List<String> values) {
            addCriterion("OHC_PARTITIONNM not in", values, "ohcPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOhcPartitionnmBetween(String value1, String value2) {
            addCriterion("OHC_PARTITIONNM between", value1, value2, "ohcPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOhcPartitionnmNotBetween(String value1, String value2) {
            addCriterion("OHC_PARTITIONNM not between", value1, value2, "ohcPartitionnm");
            return (Criteria) this;
        }

        public Criteria andOhcArchivetmIsNull() {
            addCriterion("OHC_ARCHIVETM is null");
            return (Criteria) this;
        }

        public Criteria andOhcArchivetmIsNotNull() {
            addCriterion("OHC_ARCHIVETM is not null");
            return (Criteria) this;
        }

        public Criteria andOhcArchivetmEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_ARCHIVETM =", value, "ohcArchivetm");
            return (Criteria) this;
        }

        public Criteria andOhcArchivetmNotEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_ARCHIVETM <>", value, "ohcArchivetm");
            return (Criteria) this;
        }

        public Criteria andOhcArchivetmGreaterThan(Date value) {
            addCriterionForJDBCDate("OHC_ARCHIVETM >", value, "ohcArchivetm");
            return (Criteria) this;
        }

        public Criteria andOhcArchivetmGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_ARCHIVETM >=", value, "ohcArchivetm");
            return (Criteria) this;
        }

        public Criteria andOhcArchivetmLessThan(Date value) {
            addCriterionForJDBCDate("OHC_ARCHIVETM <", value, "ohcArchivetm");
            return (Criteria) this;
        }

        public Criteria andOhcArchivetmLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_ARCHIVETM <=", value, "ohcArchivetm");
            return (Criteria) this;
        }

        public Criteria andOhcArchivetmIn(List<Date> values) {
            addCriterionForJDBCDate("OHC_ARCHIVETM in", values, "ohcArchivetm");
            return (Criteria) this;
        }

        public Criteria andOhcArchivetmNotIn(List<Date> values) {
            addCriterionForJDBCDate("OHC_ARCHIVETM not in", values, "ohcArchivetm");
            return (Criteria) this;
        }

        public Criteria andOhcArchivetmBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OHC_ARCHIVETM between", value1, value2, "ohcArchivetm");
            return (Criteria) this;
        }

        public Criteria andOhcArchivetmNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OHC_ARCHIVETM not between", value1, value2, "ohcArchivetm");
            return (Criteria) this;
        }

        public Criteria andOhcInsertdtIsNull() {
            addCriterion("OHC_INSERTDT is null");
            return (Criteria) this;
        }

        public Criteria andOhcInsertdtIsNotNull() {
            addCriterion("OHC_INSERTDT is not null");
            return (Criteria) this;
        }

        public Criteria andOhcInsertdtEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_INSERTDT =", value, "ohcInsertdt");
            return (Criteria) this;
        }

        public Criteria andOhcInsertdtNotEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_INSERTDT <>", value, "ohcInsertdt");
            return (Criteria) this;
        }

        public Criteria andOhcInsertdtGreaterThan(Date value) {
            addCriterionForJDBCDate("OHC_INSERTDT >", value, "ohcInsertdt");
            return (Criteria) this;
        }

        public Criteria andOhcInsertdtGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_INSERTDT >=", value, "ohcInsertdt");
            return (Criteria) this;
        }

        public Criteria andOhcInsertdtLessThan(Date value) {
            addCriterionForJDBCDate("OHC_INSERTDT <", value, "ohcInsertdt");
            return (Criteria) this;
        }

        public Criteria andOhcInsertdtLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_INSERTDT <=", value, "ohcInsertdt");
            return (Criteria) this;
        }

        public Criteria andOhcInsertdtIn(List<Date> values) {
            addCriterionForJDBCDate("OHC_INSERTDT in", values, "ohcInsertdt");
            return (Criteria) this;
        }

        public Criteria andOhcInsertdtNotIn(List<Date> values) {
            addCriterionForJDBCDate("OHC_INSERTDT not in", values, "ohcInsertdt");
            return (Criteria) this;
        }

        public Criteria andOhcInsertdtBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OHC_INSERTDT between", value1, value2, "ohcInsertdt");
            return (Criteria) this;
        }

        public Criteria andOhcInsertdtNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OHC_INSERTDT not between", value1, value2, "ohcInsertdt");
            return (Criteria) this;
        }

        public Criteria andOhcInsertuserIsNull() {
            addCriterion("OHC_INSERTUSER is null");
            return (Criteria) this;
        }

        public Criteria andOhcInsertuserIsNotNull() {
            addCriterion("OHC_INSERTUSER is not null");
            return (Criteria) this;
        }

        public Criteria andOhcInsertuserEqualTo(String value) {
            addCriterion("OHC_INSERTUSER =", value, "ohcInsertuser");
            return (Criteria) this;
        }

        public Criteria andOhcInsertuserNotEqualTo(String value) {
            addCriterion("OHC_INSERTUSER <>", value, "ohcInsertuser");
            return (Criteria) this;
        }

        public Criteria andOhcInsertuserGreaterThan(String value) {
            addCriterion("OHC_INSERTUSER >", value, "ohcInsertuser");
            return (Criteria) this;
        }

        public Criteria andOhcInsertuserGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_INSERTUSER >=", value, "ohcInsertuser");
            return (Criteria) this;
        }

        public Criteria andOhcInsertuserLessThan(String value) {
            addCriterion("OHC_INSERTUSER <", value, "ohcInsertuser");
            return (Criteria) this;
        }

        public Criteria andOhcInsertuserLessThanOrEqualTo(String value) {
            addCriterion("OHC_INSERTUSER <=", value, "ohcInsertuser");
            return (Criteria) this;
        }

        public Criteria andOhcInsertuserLike(String value) {
            addCriterion("OHC_INSERTUSER like", value, "ohcInsertuser");
            return (Criteria) this;
        }

        public Criteria andOhcInsertuserNotLike(String value) {
            addCriterion("OHC_INSERTUSER not like", value, "ohcInsertuser");
            return (Criteria) this;
        }

        public Criteria andOhcInsertuserIn(List<String> values) {
            addCriterion("OHC_INSERTUSER in", values, "ohcInsertuser");
            return (Criteria) this;
        }

        public Criteria andOhcInsertuserNotIn(List<String> values) {
            addCriterion("OHC_INSERTUSER not in", values, "ohcInsertuser");
            return (Criteria) this;
        }

        public Criteria andOhcInsertuserBetween(String value1, String value2) {
            addCriterion("OHC_INSERTUSER between", value1, value2, "ohcInsertuser");
            return (Criteria) this;
        }

        public Criteria andOhcInsertuserNotBetween(String value1, String value2) {
            addCriterion("OHC_INSERTUSER not between", value1, value2, "ohcInsertuser");
            return (Criteria) this;
        }

        public Criteria andOhcLstupddtIsNull() {
            addCriterion("OHC_LSTUPDDT is null");
            return (Criteria) this;
        }

        public Criteria andOhcLstupddtIsNotNull() {
            addCriterion("OHC_LSTUPDDT is not null");
            return (Criteria) this;
        }

        public Criteria andOhcLstupddtEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_LSTUPDDT =", value, "ohcLstupddt");
            return (Criteria) this;
        }

        public Criteria andOhcLstupddtNotEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_LSTUPDDT <>", value, "ohcLstupddt");
            return (Criteria) this;
        }

        public Criteria andOhcLstupddtGreaterThan(Date value) {
            addCriterionForJDBCDate("OHC_LSTUPDDT >", value, "ohcLstupddt");
            return (Criteria) this;
        }

        public Criteria andOhcLstupddtGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_LSTUPDDT >=", value, "ohcLstupddt");
            return (Criteria) this;
        }

        public Criteria andOhcLstupddtLessThan(Date value) {
            addCriterionForJDBCDate("OHC_LSTUPDDT <", value, "ohcLstupddt");
            return (Criteria) this;
        }

        public Criteria andOhcLstupddtLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_LSTUPDDT <=", value, "ohcLstupddt");
            return (Criteria) this;
        }

        public Criteria andOhcLstupddtIn(List<Date> values) {
            addCriterionForJDBCDate("OHC_LSTUPDDT in", values, "ohcLstupddt");
            return (Criteria) this;
        }

        public Criteria andOhcLstupddtNotIn(List<Date> values) {
            addCriterionForJDBCDate("OHC_LSTUPDDT not in", values, "ohcLstupddt");
            return (Criteria) this;
        }

        public Criteria andOhcLstupddtBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OHC_LSTUPDDT between", value1, value2, "ohcLstupddt");
            return (Criteria) this;
        }

        public Criteria andOhcLstupddtNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OHC_LSTUPDDT not between", value1, value2, "ohcLstupddt");
            return (Criteria) this;
        }

        public Criteria andOhcLstupuserIsNull() {
            addCriterion("OHC_LSTUPUSER is null");
            return (Criteria) this;
        }

        public Criteria andOhcLstupuserIsNotNull() {
            addCriterion("OHC_LSTUPUSER is not null");
            return (Criteria) this;
        }

        public Criteria andOhcLstupuserEqualTo(String value) {
            addCriterion("OHC_LSTUPUSER =", value, "ohcLstupuser");
            return (Criteria) this;
        }

        public Criteria andOhcLstupuserNotEqualTo(String value) {
            addCriterion("OHC_LSTUPUSER <>", value, "ohcLstupuser");
            return (Criteria) this;
        }

        public Criteria andOhcLstupuserGreaterThan(String value) {
            addCriterion("OHC_LSTUPUSER >", value, "ohcLstupuser");
            return (Criteria) this;
        }

        public Criteria andOhcLstupuserGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_LSTUPUSER >=", value, "ohcLstupuser");
            return (Criteria) this;
        }

        public Criteria andOhcLstupuserLessThan(String value) {
            addCriterion("OHC_LSTUPUSER <", value, "ohcLstupuser");
            return (Criteria) this;
        }

        public Criteria andOhcLstupuserLessThanOrEqualTo(String value) {
            addCriterion("OHC_LSTUPUSER <=", value, "ohcLstupuser");
            return (Criteria) this;
        }

        public Criteria andOhcLstupuserLike(String value) {
            addCriterion("OHC_LSTUPUSER like", value, "ohcLstupuser");
            return (Criteria) this;
        }

        public Criteria andOhcLstupuserNotLike(String value) {
            addCriterion("OHC_LSTUPUSER not like", value, "ohcLstupuser");
            return (Criteria) this;
        }

        public Criteria andOhcLstupuserIn(List<String> values) {
            addCriterion("OHC_LSTUPUSER in", values, "ohcLstupuser");
            return (Criteria) this;
        }

        public Criteria andOhcLstupuserNotIn(List<String> values) {
            addCriterion("OHC_LSTUPUSER not in", values, "ohcLstupuser");
            return (Criteria) this;
        }

        public Criteria andOhcLstupuserBetween(String value1, String value2) {
            addCriterion("OHC_LSTUPUSER between", value1, value2, "ohcLstupuser");
            return (Criteria) this;
        }

        public Criteria andOhcLstupuserNotBetween(String value1, String value2) {
            addCriterion("OHC_LSTUPUSER not between", value1, value2, "ohcLstupuser");
            return (Criteria) this;
        }

        public Criteria andOhcRegFgIsNull() {
            addCriterion("OHC_REG_FG is null");
            return (Criteria) this;
        }

        public Criteria andOhcRegFgIsNotNull() {
            addCriterion("OHC_REG_FG is not null");
            return (Criteria) this;
        }

        public Criteria andOhcRegFgEqualTo(String value) {
            addCriterion("OHC_REG_FG =", value, "ohcRegFg");
            return (Criteria) this;
        }

        public Criteria andOhcRegFgNotEqualTo(String value) {
            addCriterion("OHC_REG_FG <>", value, "ohcRegFg");
            return (Criteria) this;
        }

        public Criteria andOhcRegFgGreaterThan(String value) {
            addCriterion("OHC_REG_FG >", value, "ohcRegFg");
            return (Criteria) this;
        }

        public Criteria andOhcRegFgGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_REG_FG >=", value, "ohcRegFg");
            return (Criteria) this;
        }

        public Criteria andOhcRegFgLessThan(String value) {
            addCriterion("OHC_REG_FG <", value, "ohcRegFg");
            return (Criteria) this;
        }

        public Criteria andOhcRegFgLessThanOrEqualTo(String value) {
            addCriterion("OHC_REG_FG <=", value, "ohcRegFg");
            return (Criteria) this;
        }

        public Criteria andOhcRegFgLike(String value) {
            addCriterion("OHC_REG_FG like", value, "ohcRegFg");
            return (Criteria) this;
        }

        public Criteria andOhcRegFgNotLike(String value) {
            addCriterion("OHC_REG_FG not like", value, "ohcRegFg");
            return (Criteria) this;
        }

        public Criteria andOhcRegFgIn(List<String> values) {
            addCriterion("OHC_REG_FG in", values, "ohcRegFg");
            return (Criteria) this;
        }

        public Criteria andOhcRegFgNotIn(List<String> values) {
            addCriterion("OHC_REG_FG not in", values, "ohcRegFg");
            return (Criteria) this;
        }

        public Criteria andOhcRegFgBetween(String value1, String value2) {
            addCriterion("OHC_REG_FG between", value1, value2, "ohcRegFg");
            return (Criteria) this;
        }

        public Criteria andOhcRegFgNotBetween(String value1, String value2) {
            addCriterion("OHC_REG_FG not between", value1, value2, "ohcRegFg");
            return (Criteria) this;
        }

        public Criteria andOhcSlipIsNull() {
            addCriterion("OHC_SLIP is null");
            return (Criteria) this;
        }

        public Criteria andOhcSlipIsNotNull() {
            addCriterion("OHC_SLIP is not null");
            return (Criteria) this;
        }

        public Criteria andOhcSlipEqualTo(String value) {
            addCriterion("OHC_SLIP =", value, "ohcSlip");
            return (Criteria) this;
        }

        public Criteria andOhcSlipNotEqualTo(String value) {
            addCriterion("OHC_SLIP <>", value, "ohcSlip");
            return (Criteria) this;
        }

        public Criteria andOhcSlipGreaterThan(String value) {
            addCriterion("OHC_SLIP >", value, "ohcSlip");
            return (Criteria) this;
        }

        public Criteria andOhcSlipGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_SLIP >=", value, "ohcSlip");
            return (Criteria) this;
        }

        public Criteria andOhcSlipLessThan(String value) {
            addCriterion("OHC_SLIP <", value, "ohcSlip");
            return (Criteria) this;
        }

        public Criteria andOhcSlipLessThanOrEqualTo(String value) {
            addCriterion("OHC_SLIP <=", value, "ohcSlip");
            return (Criteria) this;
        }

        public Criteria andOhcSlipLike(String value) {
            addCriterion("OHC_SLIP like", value, "ohcSlip");
            return (Criteria) this;
        }

        public Criteria andOhcSlipNotLike(String value) {
            addCriterion("OHC_SLIP not like", value, "ohcSlip");
            return (Criteria) this;
        }

        public Criteria andOhcSlipIn(List<String> values) {
            addCriterion("OHC_SLIP in", values, "ohcSlip");
            return (Criteria) this;
        }

        public Criteria andOhcSlipNotIn(List<String> values) {
            addCriterion("OHC_SLIP not in", values, "ohcSlip");
            return (Criteria) this;
        }

        public Criteria andOhcSlipBetween(String value1, String value2) {
            addCriterion("OHC_SLIP between", value1, value2, "ohcSlip");
            return (Criteria) this;
        }

        public Criteria andOhcSlipNotBetween(String value1, String value2) {
            addCriterion("OHC_SLIP not between", value1, value2, "ohcSlip");
            return (Criteria) this;
        }

        public Criteria andOhcErrortypeIsNull() {
            addCriterion("OHC_ERRORTYPE is null");
            return (Criteria) this;
        }

        public Criteria andOhcErrortypeIsNotNull() {
            addCriterion("OHC_ERRORTYPE is not null");
            return (Criteria) this;
        }

        public Criteria andOhcErrortypeEqualTo(String value) {
            addCriterion("OHC_ERRORTYPE =", value, "ohcErrortype");
            return (Criteria) this;
        }

        public Criteria andOhcErrortypeNotEqualTo(String value) {
            addCriterion("OHC_ERRORTYPE <>", value, "ohcErrortype");
            return (Criteria) this;
        }

        public Criteria andOhcErrortypeGreaterThan(String value) {
            addCriterion("OHC_ERRORTYPE >", value, "ohcErrortype");
            return (Criteria) this;
        }

        public Criteria andOhcErrortypeGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_ERRORTYPE >=", value, "ohcErrortype");
            return (Criteria) this;
        }

        public Criteria andOhcErrortypeLessThan(String value) {
            addCriterion("OHC_ERRORTYPE <", value, "ohcErrortype");
            return (Criteria) this;
        }

        public Criteria andOhcErrortypeLessThanOrEqualTo(String value) {
            addCriterion("OHC_ERRORTYPE <=", value, "ohcErrortype");
            return (Criteria) this;
        }

        public Criteria andOhcErrortypeLike(String value) {
            addCriterion("OHC_ERRORTYPE like", value, "ohcErrortype");
            return (Criteria) this;
        }

        public Criteria andOhcErrortypeNotLike(String value) {
            addCriterion("OHC_ERRORTYPE not like", value, "ohcErrortype");
            return (Criteria) this;
        }

        public Criteria andOhcErrortypeIn(List<String> values) {
            addCriterion("OHC_ERRORTYPE in", values, "ohcErrortype");
            return (Criteria) this;
        }

        public Criteria andOhcErrortypeNotIn(List<String> values) {
            addCriterion("OHC_ERRORTYPE not in", values, "ohcErrortype");
            return (Criteria) this;
        }

        public Criteria andOhcErrortypeBetween(String value1, String value2) {
            addCriterion("OHC_ERRORTYPE between", value1, value2, "ohcErrortype");
            return (Criteria) this;
        }

        public Criteria andOhcErrortypeNotBetween(String value1, String value2) {
            addCriterion("OHC_ERRORTYPE not between", value1, value2, "ohcErrortype");
            return (Criteria) this;
        }

        public Criteria andOhcErrorreasonIsNull() {
            addCriterion("OHC_ERRORREASON is null");
            return (Criteria) this;
        }

        public Criteria andOhcErrorreasonIsNotNull() {
            addCriterion("OHC_ERRORREASON is not null");
            return (Criteria) this;
        }

        public Criteria andOhcErrorreasonEqualTo(String value) {
            addCriterion("OHC_ERRORREASON =", value, "ohcErrorreason");
            return (Criteria) this;
        }

        public Criteria andOhcErrorreasonNotEqualTo(String value) {
            addCriterion("OHC_ERRORREASON <>", value, "ohcErrorreason");
            return (Criteria) this;
        }

        public Criteria andOhcErrorreasonGreaterThan(String value) {
            addCriterion("OHC_ERRORREASON >", value, "ohcErrorreason");
            return (Criteria) this;
        }

        public Criteria andOhcErrorreasonGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_ERRORREASON >=", value, "ohcErrorreason");
            return (Criteria) this;
        }

        public Criteria andOhcErrorreasonLessThan(String value) {
            addCriterion("OHC_ERRORREASON <", value, "ohcErrorreason");
            return (Criteria) this;
        }

        public Criteria andOhcErrorreasonLessThanOrEqualTo(String value) {
            addCriterion("OHC_ERRORREASON <=", value, "ohcErrorreason");
            return (Criteria) this;
        }

        public Criteria andOhcErrorreasonLike(String value) {
            addCriterion("OHC_ERRORREASON like", value, "ohcErrorreason");
            return (Criteria) this;
        }

        public Criteria andOhcErrorreasonNotLike(String value) {
            addCriterion("OHC_ERRORREASON not like", value, "ohcErrorreason");
            return (Criteria) this;
        }

        public Criteria andOhcErrorreasonIn(List<String> values) {
            addCriterion("OHC_ERRORREASON in", values, "ohcErrorreason");
            return (Criteria) this;
        }

        public Criteria andOhcErrorreasonNotIn(List<String> values) {
            addCriterion("OHC_ERRORREASON not in", values, "ohcErrorreason");
            return (Criteria) this;
        }

        public Criteria andOhcErrorreasonBetween(String value1, String value2) {
            addCriterion("OHC_ERRORREASON between", value1, value2, "ohcErrorreason");
            return (Criteria) this;
        }

        public Criteria andOhcErrorreasonNotBetween(String value1, String value2) {
            addCriterion("OHC_ERRORREASON not between", value1, value2, "ohcErrorreason");
            return (Criteria) this;
        }

        public Criteria andOhcQrCodeIsNull() {
            addCriterion("OHC_QR_CODE is null");
            return (Criteria) this;
        }

        public Criteria andOhcQrCodeIsNotNull() {
            addCriterion("OHC_QR_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andOhcQrCodeEqualTo(String value) {
            addCriterion("OHC_QR_CODE =", value, "ohcQrCode");
            return (Criteria) this;
        }

        public Criteria andOhcQrCodeNotEqualTo(String value) {
            addCriterion("OHC_QR_CODE <>", value, "ohcQrCode");
            return (Criteria) this;
        }

        public Criteria andOhcQrCodeGreaterThan(String value) {
            addCriterion("OHC_QR_CODE >", value, "ohcQrCode");
            return (Criteria) this;
        }

        public Criteria andOhcQrCodeGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_QR_CODE >=", value, "ohcQrCode");
            return (Criteria) this;
        }

        public Criteria andOhcQrCodeLessThan(String value) {
            addCriterion("OHC_QR_CODE <", value, "ohcQrCode");
            return (Criteria) this;
        }

        public Criteria andOhcQrCodeLessThanOrEqualTo(String value) {
            addCriterion("OHC_QR_CODE <=", value, "ohcQrCode");
            return (Criteria) this;
        }

        public Criteria andOhcQrCodeLike(String value) {
            addCriterion("OHC_QR_CODE like", value, "ohcQrCode");
            return (Criteria) this;
        }

        public Criteria andOhcQrCodeNotLike(String value) {
            addCriterion("OHC_QR_CODE not like", value, "ohcQrCode");
            return (Criteria) this;
        }

        public Criteria andOhcQrCodeIn(List<String> values) {
            addCriterion("OHC_QR_CODE in", values, "ohcQrCode");
            return (Criteria) this;
        }

        public Criteria andOhcQrCodeNotIn(List<String> values) {
            addCriterion("OHC_QR_CODE not in", values, "ohcQrCode");
            return (Criteria) this;
        }

        public Criteria andOhcQrCodeBetween(String value1, String value2) {
            addCriterion("OHC_QR_CODE between", value1, value2, "ohcQrCode");
            return (Criteria) this;
        }

        public Criteria andOhcQrCodeNotBetween(String value1, String value2) {
            addCriterion("OHC_QR_CODE not between", value1, value2, "ohcQrCode");
            return (Criteria) this;
        }

        public Criteria andOhcIsManualIsNull() {
            addCriterion("OHC_IS_MANUAL is null");
            return (Criteria) this;
        }

        public Criteria andOhcIsManualIsNotNull() {
            addCriterion("OHC_IS_MANUAL is not null");
            return (Criteria) this;
        }

        public Criteria andOhcIsManualEqualTo(String value) {
            addCriterion("OHC_IS_MANUAL =", value, "ohcIsManual");
            return (Criteria) this;
        }

        public Criteria andOhcIsManualNotEqualTo(String value) {
            addCriterion("OHC_IS_MANUAL <>", value, "ohcIsManual");
            return (Criteria) this;
        }

        public Criteria andOhcIsManualGreaterThan(String value) {
            addCriterion("OHC_IS_MANUAL >", value, "ohcIsManual");
            return (Criteria) this;
        }

        public Criteria andOhcIsManualGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_IS_MANUAL >=", value, "ohcIsManual");
            return (Criteria) this;
        }

        public Criteria andOhcIsManualLessThan(String value) {
            addCriterion("OHC_IS_MANUAL <", value, "ohcIsManual");
            return (Criteria) this;
        }

        public Criteria andOhcIsManualLessThanOrEqualTo(String value) {
            addCriterion("OHC_IS_MANUAL <=", value, "ohcIsManual");
            return (Criteria) this;
        }

        public Criteria andOhcIsManualLike(String value) {
            addCriterion("OHC_IS_MANUAL like", value, "ohcIsManual");
            return (Criteria) this;
        }

        public Criteria andOhcIsManualNotLike(String value) {
            addCriterion("OHC_IS_MANUAL not like", value, "ohcIsManual");
            return (Criteria) this;
        }

        public Criteria andOhcIsManualIn(List<String> values) {
            addCriterion("OHC_IS_MANUAL in", values, "ohcIsManual");
            return (Criteria) this;
        }

        public Criteria andOhcIsManualNotIn(List<String> values) {
            addCriterion("OHC_IS_MANUAL not in", values, "ohcIsManual");
            return (Criteria) this;
        }

        public Criteria andOhcIsManualBetween(String value1, String value2) {
            addCriterion("OHC_IS_MANUAL between", value1, value2, "ohcIsManual");
            return (Criteria) this;
        }

        public Criteria andOhcIsManualNotBetween(String value1, String value2) {
            addCriterion("OHC_IS_MANUAL not between", value1, value2, "ohcIsManual");
            return (Criteria) this;
        }

        public Criteria andOhcLsScantmIsNull() {
            addCriterion("OHC_LS_SCANTM is null");
            return (Criteria) this;
        }

        public Criteria andOhcLsScantmIsNotNull() {
            addCriterion("OHC_LS_SCANTM is not null");
            return (Criteria) this;
        }

        public Criteria andOhcLsScantmEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_LS_SCANTM =", value, "ohcLsScantm");
            return (Criteria) this;
        }

        public Criteria andOhcLsScantmNotEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_LS_SCANTM <>", value, "ohcLsScantm");
            return (Criteria) this;
        }

        public Criteria andOhcLsScantmGreaterThan(Date value) {
            addCriterionForJDBCDate("OHC_LS_SCANTM >", value, "ohcLsScantm");
            return (Criteria) this;
        }

        public Criteria andOhcLsScantmGreaterThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_LS_SCANTM >=", value, "ohcLsScantm");
            return (Criteria) this;
        }

        public Criteria andOhcLsScantmLessThan(Date value) {
            addCriterionForJDBCDate("OHC_LS_SCANTM <", value, "ohcLsScantm");
            return (Criteria) this;
        }

        public Criteria andOhcLsScantmLessThanOrEqualTo(Date value) {
            addCriterionForJDBCDate("OHC_LS_SCANTM <=", value, "ohcLsScantm");
            return (Criteria) this;
        }

        public Criteria andOhcLsScantmIn(List<Date> values) {
            addCriterionForJDBCDate("OHC_LS_SCANTM in", values, "ohcLsScantm");
            return (Criteria) this;
        }

        public Criteria andOhcLsScantmNotIn(List<Date> values) {
            addCriterionForJDBCDate("OHC_LS_SCANTM not in", values, "ohcLsScantm");
            return (Criteria) this;
        }

        public Criteria andOhcLsScantmBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OHC_LS_SCANTM between", value1, value2, "ohcLsScantm");
            return (Criteria) this;
        }

        public Criteria andOhcLsScantmNotBetween(Date value1, Date value2) {
            addCriterionForJDBCDate("OHC_LS_SCANTM not between", value1, value2, "ohcLsScantm");
            return (Criteria) this;
        }

        public Criteria andOhcEirRefQrcodeIsNull() {
            addCriterion("OHC_EIR_REF_QRCODE is null");
            return (Criteria) this;
        }

        public Criteria andOhcEirRefQrcodeIsNotNull() {
            addCriterion("OHC_EIR_REF_QRCODE is not null");
            return (Criteria) this;
        }

        public Criteria andOhcEirRefQrcodeEqualTo(String value) {
            addCriterion("OHC_EIR_REF_QRCODE =", value, "ohcEirRefQrcode");
            return (Criteria) this;
        }

        public Criteria andOhcEirRefQrcodeNotEqualTo(String value) {
            addCriterion("OHC_EIR_REF_QRCODE <>", value, "ohcEirRefQrcode");
            return (Criteria) this;
        }

        public Criteria andOhcEirRefQrcodeGreaterThan(String value) {
            addCriterion("OHC_EIR_REF_QRCODE >", value, "ohcEirRefQrcode");
            return (Criteria) this;
        }

        public Criteria andOhcEirRefQrcodeGreaterThanOrEqualTo(String value) {
            addCriterion("OHC_EIR_REF_QRCODE >=", value, "ohcEirRefQrcode");
            return (Criteria) this;
        }

        public Criteria andOhcEirRefQrcodeLessThan(String value) {
            addCriterion("OHC_EIR_REF_QRCODE <", value, "ohcEirRefQrcode");
            return (Criteria) this;
        }

        public Criteria andOhcEirRefQrcodeLessThanOrEqualTo(String value) {
            addCriterion("OHC_EIR_REF_QRCODE <=", value, "ohcEirRefQrcode");
            return (Criteria) this;
        }

        public Criteria andOhcEirRefQrcodeLike(String value) {
            addCriterion("OHC_EIR_REF_QRCODE like", value, "ohcEirRefQrcode");
            return (Criteria) this;
        }

        public Criteria andOhcEirRefQrcodeNotLike(String value) {
            addCriterion("OHC_EIR_REF_QRCODE not like", value, "ohcEirRefQrcode");
            return (Criteria) this;
        }

        public Criteria andOhcEirRefQrcodeIn(List<String> values) {
            addCriterion("OHC_EIR_REF_QRCODE in", values, "ohcEirRefQrcode");
            return (Criteria) this;
        }

        public Criteria andOhcEirRefQrcodeNotIn(List<String> values) {
            addCriterion("OHC_EIR_REF_QRCODE not in", values, "ohcEirRefQrcode");
            return (Criteria) this;
        }

        public Criteria andOhcEirRefQrcodeBetween(String value1, String value2) {
            addCriterion("OHC_EIR_REF_QRCODE between", value1, value2, "ohcEirRefQrcode");
            return (Criteria) this;
        }

        public Criteria andOhcEirRefQrcodeNotBetween(String value1, String value2) {
            addCriterion("OHC_EIR_REF_QRCODE not between", value1, value2, "ohcEirRefQrcode");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}